com.facebook.internal
Class Validate
java.lang.Object
com.facebook.internal.Validate
public final class Validate
- extends Object
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of
any of the classes in this package is unsupported, and they may be modified or removed without warning at
any time.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validate
public Validate()
notNull
public static void notNull(Object arg,
String name)
notEmpty
public static <T> void notEmpty(Collection<T> container,
String name)
containsNoNulls
public static <T> void containsNoNulls(Collection<T> container,
String name)
notEmptyAndContainsNoNulls
public static <T> void notEmptyAndContainsNoNulls(Collection<T> container,
String name)
notNullOrEmpty
public static void notNullOrEmpty(String arg,
String name)
oneOf
public static void oneOf(Object arg,
String name,
Object... values)