|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.multiverse.transactional.refs.CharRef
public class CharRef
A Ref for storing a char.
| Constructor Summary | |
|---|---|
CharRef()
|
|
CharRef(char value)
|
|
| Method Summary | |
|---|---|
void |
await(char desired)
|
char |
awaitLargerOrEqualThan(char than)
|
char |
awaitLargerThan(char than)
|
char |
awaitNotEqualTo(char than)
|
char |
awaitSmallerOrEqualThan(char than)
|
char |
awaitSmallerThan(char than)
|
char |
dec()
Decreases the value by one. |
char |
dec(char amount)
Decreases the value with the given amount. |
boolean |
equals(java.lang.Object thatObj)
|
char |
get()
|
int |
hashCode()
|
char |
inc()
Increases the value by one. |
char |
inc(char amount)
Increases the value with the given amount. |
char |
set(char newValue)
Sets the new value and returns the old value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CharRef()
public CharRef(char value)
| Method Detail |
|---|
public final char get()
public final void await(char desired)
public final char awaitLargerThan(char than)
public final char awaitLargerOrEqualThan(char than)
public final char awaitSmallerThan(char than)
public final char awaitSmallerOrEqualThan(char than)
public final char awaitNotEqualTo(char than)
public final char set(char newValue)
newValue - the new value.
public final char inc()
public final char inc(char amount)
amount - the amount to increase with.
public final char dec()
public final char dec(char amount)
amount - the amount to decrease the value with.
public final java.lang.String toString()
toString in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object thatObj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||