Package | Description |
---|---|
org.pojomatic |
Core Pojomatic classes.
|
org.pojomatic.internal |
The classes in this package are intended for internal use only.
|
Modifier and Type | Method | Description |
---|---|---|
static <T,S extends T> |
Pojomatic.diff(T pojo,
S other) |
Compute the differences between
pojo and other among the properties
examined by Pojomatic.equals(Object, Object) for type T . |
static <T> boolean |
Pojomatic.equals(T pojo,
Object other) |
Compute whether
pojo and other are equal to each other in the sense of
Object 's equals method. |
static <T> int |
Pojomatic.hashCode(T pojo) |
Compute the
hashCode for a POJO. |
static <T> Pojomator<T> |
Pojomatic.pojomator(Class<T> pojoClass) |
Get the
Pojomator for pojoClass . |
static <T> String |
Pojomatic.toString(T pojo) |
Compute the
toString representation for a POJO. |
Modifier and Type | Method | Description |
---|---|---|
static ClassProperties |
ClassProperties.forClass(Class<?> pojoClass) |
Get an instance for the given
pojoClass . |
Copyright © 2008–2018. All rights reserved.