|
|||||||||
| Home >> All >> org >> ujac >> util >> [ exi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.ujac.util.exi
Class SequenceIndex

java.lang.Objectjava.lang.Number
org.ujac.util.exi.SequenceIndex
- All Implemented Interfaces:
- java.io.Serializable
- public class SequenceIndex
- extends java.lang.Number
Title: SequenceIndex.java
Description: Description of the class.
Log: $Log: SequenceIndex.java,v $
Log: Revision 1.4 2003/11/01 12:06:38 lauerc
Log: Added copyright notice.
Log:
Log: Revision 1.3 2003/09/28 15:38:23 lauerc
Log: Fixed javadoc comments.
Log:
Log: Revision 1.2 2003/07/26 16:00:17 lauerc
Log: Implemented method toString.
Log:
Log: Revision 1.1 2003/03/17 20:28:54 lauerc
Log: Initial revision.
Log:
- Version:
- $Revision: 1.4 $
| Field Summary | |
(package private) int |
value
The value. |
| Fields inherited from class java.lang.Number |
|
| 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()
Return the value of this Number as a float. |
float |
floatValue()
Return the value of this Number as a float. |
void |
increment()
Increments the index by one. |
void |
increment(int value)
Increments the index by the given value. |
int |
intValue()
Return the value of this Number as an int. |
long |
longValue()
Return the value of this Number as a long. |
void |
setValue(int value)
Sets the new value. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| 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 |
| Field Detail |
value
int value
- The value.
| Constructor Detail |
SequenceIndex
public SequenceIndex()
- Constructs a SequenceIndex instance with no specific attributes.
This sequence starts with index 0.
SequenceIndex
public SequenceIndex(int value)
- Constructs a SequenceIndex instance with specific attributes.
| Method Detail |
setValue
public void setValue(int value)
- Sets the new value.
increment
public void increment()
- Increments the index by one.
increment
public void increment(int value)
- Increments the index by the given value.
intValue
public int intValue()
- Description copied from class:
java.lang.Number - Return the value of this
Numberas anint.
longValue
public long longValue()
- Description copied from class:
java.lang.Number - Return the value of this
Numberas along.
floatValue
public float floatValue()
- Description copied from class:
java.lang.Number - Return the value of this
Numberas afloat.
doubleValue
public double doubleValue()
- Description copied from class:
java.lang.Number - Return the value of this
Numberas afloat.
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> ujac >> util >> [ exi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC