@NotThreadSafe public class MutableChar extends AbstractMutableInteger<MutableChar>
| Modifier and Type | Field and Description |
|---|---|
static char |
DEFAULT_VALUE
Deprecated.
|
| Constructor and Description |
|---|
MutableChar()
Deprecated.
|
MutableChar(char cValue)
Initialize with a certain value.
|
MutableChar(Character aValue)
Initialize with a certain value.
|
MutableChar(int cValue)
Initialize with a certain int value.
|
MutableChar(MutableChar aOther) |
| Modifier and Type | Method and Description |
|---|---|
char |
charValue() |
int |
compareTo(MutableChar rhs) |
int |
dec() |
int |
dec(int nDelta) |
int |
dec(MutableChar aMC) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
MutableChar |
getClone() |
int |
hashCode() |
int |
inc()
Increment by 1 and return the modified value.
|
int |
inc(int nDelta) |
int |
inc(MutableChar aMC) |
int |
intValue() |
boolean |
is0() |
boolean |
isEven() |
boolean |
isGE0() |
boolean |
isGT0() |
boolean |
isLE0() |
boolean |
isLT0() |
long |
longValue() |
EChange |
set(char cValue) |
EChange |
set(int cValue) |
EChange |
set(MutableChar aMC) |
String |
toString() |
getAsBigDecimal, getAsBigInteger, getAsByte, getAsCharacter, getAsDouble, getAsFloat, getAsInteger, getAsLong, getAsShort, onAfterChangebyteValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitisOddgetAsBigDecimal, getAsBigInteger, getAsByte, getAsCharacter, getAsDouble, getAsFloat, getAsInteger, getAsLong, getAsShort, isGreater0, isGreaterOrEqual0, isNot0, isSmaller0, isSmallerOrEqual0isEQ, isEqualTo, isGE, isGreaterOrEqualThan, isGreaterThan, isGT, isLE, isLowerOrEqualThan, isLowerThan, isLT, isNEthisAsT@Deprecated public static final char DEFAULT_VALUE
@Deprecated public MutableChar()
public MutableChar(int cValue)
cValue - The value to be used.public MutableChar(@Nonnull Character aValue)
aValue - The value to be used.public MutableChar(char cValue)
cValue - The value to be used.public MutableChar(@Nonnull MutableChar aOther)
public char charValue()
public float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int inc()
public int inc(int nDelta)
public int inc(@Nonnull MutableChar aMC)
public int dec()
public int dec(int nDelta)
public int dec(@Nonnull MutableChar aMC)
@Nonnull public EChange set(@Nonnull MutableChar aMC)
public boolean is0()
true if the value is 0public boolean isLT0()
true if the value is < 0public boolean isLE0()
true if the value is ≤ 0public boolean isGT0()
true if the value is > 0public boolean isGE0()
true if the value is ≥ 0public boolean isEven()
true if the value is evenpublic int compareTo(@Nonnull MutableChar rhs)
@Nonnull public MutableChar getClone()
Copyright © 2014–2017 Philip Helger. All rights reserved.