|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.serializer.CharInfo.CharKey
private static class CharInfo.CharKey
Simple class for fast lookup of char values, when used with hashtables. You can set the char, then use it as a key.
| Field Summary | |
|---|---|
private char |
m_char
String value |
| Constructor Summary | |
|---|---|
CharInfo.CharKey()
Default constructor for a CharKey. |
|
CharInfo.CharKey(char key)
Constructor CharKey |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Override of equals() for this object |
int |
hashCode()
Get the hash value of the character. |
void |
setChar(char c)
Get the hash value of the character. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private char m_char
| Constructor Detail |
|---|
public CharInfo.CharKey(char key)
key - char value of this object.public CharInfo.CharKey()
key - char value of this object.| Method Detail |
|---|
public final void setChar(char c)
public final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - to compare to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||