|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.id.SignedIncrementFactory
public class SignedIncrementFactory
The factory that created ExceptionId
s that provides a long number Counting starts per default at 1, continues to Integer.MAX_VALUE
, to the negatives, ends with zero and starts at 1 (without a warning) again.
Constructor Summary | |
---|---|
SignedIncrementFactory() Default constructor with counter initialized with 1 . |
|
SignedIncrementFactory(long startValue) Convenience constructor. |
Method Summary | |
---|---|
LongExceptionId |
createId() Creates the identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignedIncrementFactory()
1
.
public SignedIncrementFactory(long startValue)
startValue
- the start value of the counter.
Method Detail |
---|
public LongExceptionId createId()
IdFactory
createId
in interface
IdFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |