public abstract static class DeltaQueue.Deltable
extends java.lang.Object
DeltaQueue.| Modifier and Type | Field and Description |
|---|---|
protected int |
delta
Delta in application specific units.
|
| Constructor and Description |
|---|
Deltable()
Creates a new delta.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decrementDelta(int diff)
Decrements the delta value by the specified amount.
|
int |
getDelta()
Returns the current delta in application specific units.
|
void |
incrementDelta(int diff)
Increments the delta value by the specified amount.
|
void |
setDelta(int delta)
Sets the new value of delta in application specific units.
|
public int getDelta()
public void setDelta(int delta)
delta - New value of delta in application specific units.public void incrementDelta(int diff)
diff - Amount for incrementing the delta value.public void decrementDelta(int diff)
diff - Amount for decrementing the delta value.