|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.util.MuCharacter
A mutable character class.
Constructor Summary | |
MuCharacter()
Construct a new mutable character. |
|
MuCharacter(char c)
Construct a new mutable character. |
|
MuCharacter(Object obj)
Construct a new mutable character. |
Method Summary | |
char |
charValue()
Return the char value of this mutable character. |
Object |
clone()
Return a cloned copy of this mutable character. |
int |
compareTo(char other)
Compares this object with the specified long for order. |
int |
compareTo(Object obj)
Compares this object with the specified object for order. |
boolean |
equals(Object obj)
Test the equality of this mutable character and another object. |
char |
get()
Get the current value. |
Object |
getValue()
Return the char value of this mutable character. |
int |
hashCode()
Get the hash code of this mutable character. |
char |
set(char c)
Set the value. |
void |
setValue(Object obj)
Set the value of this mutable character. |
String |
toString()
Convert this mutable character to a string. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MuCharacter()
public MuCharacter(char c)
c
- char
value.public MuCharacter(Object obj)
obj
- Object to convert to a char
.Method Detail |
public char set(char c)
c
- char
value.
public char get()
public char charValue()
char
value of this mutable character.
char
value.public int compareTo(char other)
other
- Value to compare with.
public int compareTo(Object obj)
compareTo
in interface Comparable
ClassCastException
- Object is not a MuCharacter.public String toString()
public int hashCode()
public boolean equals(Object obj)
obj
- Qbject to test equality with.
public Object clone()
public void setValue(Object obj)
obj
- Object to convert to a char
.
NotCoercibleException
- Can not convert to char
.public Object getValue()
java.lang.Character
value.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |