|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.timeindexing.basic.RelativeAdjustableCount
An RelativeCount is a count that is an relative count from the current index element. This is basically a constant, which can be +ve or -ve and can also be modified.
| Constructor Summary | |
RelativeAdjustableCount()
Construct a new RelativeCount |
|
RelativeAdjustableCount(Count c)
Construct a new RelativeCount from an existing Count |
|
RelativeAdjustableCount(long value)
Construct a new RelativeCount from a given value |
|
| Method Summary | |
Adjustable |
adjust(long amount)
Adjust the count forwards or backward, given a basic value. |
Adjustable |
adjust(Value off)
Adjust the coubnt forwards or backward, given a Value |
long |
value()
Get the count. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RelativeAdjustableCount()
public RelativeAdjustableCount(long value)
public RelativeAdjustableCount(Count c)
| Method Detail |
public long value()
value in interface Valuepublic Adjustable adjust(Value off)
adjust in interface Adjustablepublic Adjustable adjust(long amount)
adjust in interface Adjustable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||