|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number org.ujac.util.exi.SequenceIndex
public class SequenceIndex
Title: SequenceIndex
Description: A class implementing a mutable number number used for sequence indices.
Constructor Summary | |
---|---|
SequenceIndex()
Constructs a SequenceIndex instance with no specific attributes. |
|
SequenceIndex(int value)
Constructs a SequenceIndex instance with specific attributes. |
Method Summary | |
---|---|
double |
doubleValue()
|
float |
floatValue()
|
void |
increment()
Increments the index by one. |
void |
increment(int value)
Increments the index by the given value. |
int |
intValue()
|
long |
longValue()
|
void |
setValue(int value)
Sets the new value. |
String |
toString()
|
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SequenceIndex()
public SequenceIndex(int value)
value
- The initial index.Method Detail |
---|
public void setValue(int value)
value
- The value to set.public void increment()
public void increment(int value)
value
- The value, by which to increment the index.public int intValue()
intValue
in class Number
Number.intValue()
public long longValue()
longValue
in class Number
Number.longValue()
public float floatValue()
floatValue
in class Number
Number.floatValue()
public double doubleValue()
doubleValue
in class Number
Number.doubleValue()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |