public final class ObjectExtensions extends Object
ObjectExtensions provides extension methods to check if the object is the
default value. It also provides methods to find changed data between Objects.| Constructor and Description |
|---|
ObjectExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static ClassType |
getClassType(Class<?> clazz)
Gets the
ClassType from the given class. |
static <T> boolean |
isDefaultValue(T object)
Checks if the given object has the default value.
|
static <T> boolean |
isNotDefaultValue(T object)
Checks if the given object has not the default value.
|
public static final <T> boolean isDefaultValue(T object)
T - the generic typeobject - the objectpublic static final <T> boolean isNotDefaultValue(T object)
T - the generic typeobject - the objectCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.