Constructor and Description |
---|
NumberIncrement(Number value) |
Modifier and Type | Method and Description |
---|---|
protected Number |
add(Number delta) |
protected Number |
addAsDouble(Number delta) |
protected Number |
addAsInteger(Number delta) |
protected Number |
addAsLong(Number delta) |
void |
decrease(Number delta) |
Increment<Number> |
decreaseForNew(Number delta) |
Number |
getValue() |
void |
increase(Number delta) |
Increment<Number> |
increaseForNew(Number delta) |
void |
setValue(Number value) |
protected Number |
subtract(Number delta) |
protected Number |
subtractAsDouble(Number delta) |
protected Number |
subtractAsInteger(Number delta) |
protected Number |
subtractAsLong(Number delta) |
public Increment<Number> decreaseForNew(Number delta)
decreaseForNew
in interface Increment<Number>
public Increment<Number> increaseForNew(Number delta)
increaseForNew
in interface Increment<Number>
protected Number add(Number delta)
protected Number addAsDouble(Number delta)
protected Number addAsInteger(Number delta)
protected Number addAsLong(Number delta)
protected Number subtract(Number delta)
protected Number subtractAsDouble(Number delta)
protected Number subtractAsInteger(Number delta)
protected Number subtractAsLong(Number delta)