|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.util.context.ContextValue<java.lang.Integer> ix.util.context.ContextInt
public class ContextInt
An object that contains a single context-dependent int value.
Field Summary |
---|
Fields inherited from class ix.util.context.ContextValue |
---|
holder, link |
Constructor Summary | |
---|---|
ContextInt(ContextHolder holder,
int rootValue)
|
|
ContextInt(int rootValue)
|
Method Summary | |
---|---|
int |
add(int incr)
Increment by the indicated amount, then return the new value. |
int |
incrAfter()
Increment then return the old value. |
int |
incrBefore()
Increment then return the new value. |
Methods inherited from class ix.util.context.ContextValue |
---|
get, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextInt(int rootValue)
public ContextInt(ContextHolder holder, int rootValue)
Method Detail |
---|
public int add(int incr)
public int incrBefore()
public int incrAfter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |