org.gcube.common.events.impl
Class Utils
java.lang.Object
org.gcube.common.events.impl.Utils
public class Utils
- extends Object
Library-wide utilities.
- Author:
- Fabio Simeoni
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
notNull
public static void notNull(Object o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
notNull
public static void notNull(String name,
Object o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
notEmpty
public static void notEmpty(String name,
String o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
valid
public static void valid(String name,
String o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
valid
public static void valid(String name,
Collection<String> o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
valid
public static void valid(String name,
String[] o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright © 2013. All Rights Reserved.