public abstract class AbstractPrimitiveValueChanger<T> extends AbstractFieldValueChanger<T>
Modifier and Type | Field and Description |
---|---|
static AbstractFieldValueChanger
|
INSTANCE
|
Constructor and Description |
---|
AbstractPrimitiveValueChanger()
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
areDifferent(T sourceValue,
T targetValue)
|
boolean |
areDifferentValues(T sourceValue,
T targetValue)
|
protected boolean |
canChange(java.lang.Class<?> type)
|
protected abstract T |
increase(T value)
|
protected T |
increaseValue(T value,
java.lang.Class<?> type) |
attachNext,
changeFieldsValues,
getGenericTypeClass,
increaseValue
public static final AbstractFieldValueChanger INSTANCE
public boolean areDifferentValues(T sourceValue, T targetValue)
areDifferentValues
in
class AbstractFieldValueChanger<T>
protected T increaseValue(T value, java.lang.Class<?> type)
increaseValue
in
class AbstractFieldValueChanger<T>
protected boolean canChange(java.lang.Class<?> type)
canChange
in
class AbstractFieldValueChanger<T>