Example usage for Java com.google.common.collect Constraint fields, constructors, methods, implement or subclass
The text is from its open source code.
E | checkElement(E element) Throws a suitable RuntimeException if the specified element is illegal. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
String | toString() Returns a brief human readable description of this constraint, such as "Not null" or "Positive number". |