|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.timeindexing.basic.RelativeCount
com.timeindexing.basic.RelativeAdjustableCount
public class 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 |
| Methods inherited from class com.timeindexing.basic.RelativeCount |
|---|
clone, toString, value |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.timeindexing.basic.Value |
|---|
value |
| Constructor Detail |
|---|
public RelativeAdjustableCount()
public RelativeAdjustableCount(long value)
public RelativeAdjustableCount(Count c)
| Method Detail |
|---|
public 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 | ||||||||