public final class WrapperUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
nullCompatibleEquivalence(java.lang.Object object1,
java.lang.Object object2) |
static <TYPE> TYPE |
tryToCast(java.lang.Object object,
java.lang.Class<TYPE> type)
Try to cast an object to an type.
|
static <TYPE> TYPE |
unwrap(TYPE object) |
public static <TYPE> TYPE tryToCast(java.lang.Object object,
java.lang.Class<TYPE> type)
IWrapper interface,
the cast will also be be tried on the unwrapped object (recursively).object - The object to cast, may be nulltype - The type to cast into, not nullpublic static <TYPE> TYPE unwrap(TYPE object)
public static boolean nullCompatibleEquivalence(java.lang.Object object1,
java.lang.Object object2)
Siehe auch Jowidgets Nutzerhandbuch