Example usage for Java org.apache.wicket.util.lang Objects fields, constructors, methods, implement or subclass
The text is from its open source code.
T | convertValue(final Object value, final Class Convert between basic Java types, i.e. |
T | defaultIfNull(T originalObj, T defaultObj) Returns the original object if this one is != null. |
boolean | equal(final Object a, final Object b) Returns true if a and b are equal. |
boolean | isEqual(final Object object1, final Object object2) Returns true if object1 is equal to object2 in either the sense that they are the same object or, if both are non-null if they are equal in the equals() sense. |
long | longValue(final Object value) Evaluates the given object as a long integer. |
String | stringValue(final Object value, final boolean trim) Evaluates the given object as a String and trims it if the trim flag is true. |