|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.synametrics.commons.util.logging.SequenceValue
This class holds a long value which represents the sequence number. The reason for creating this class rather than putting a Long in the hashtable is that I don't have to recreate the object every time a new number is asked for. The Long class does not allow you to change its value.
| Field Summary | |
(package private) long |
value
|
| Constructor Summary | |
(package private) |
SequenceValue()
|
| Method Summary | |
(package private) long |
getValue()
|
(package private) long |
incValue()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
long value
| Constructor Detail |
SequenceValue()
| Method Detail |
long getValue()
long incValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||