org.apache.xml.utils
Class CharKey
Objectorg.apache.xml.utils.CharKey
public class CharKey
extends Object
Simple class for fast lookup of char values, when used with
hashtables. You can set the char, then use it as a key.
CharKey()- Default constructor for a CharKey.
|
CharKey(char key)- Constructor CharKey
|
boolean | equals(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.
|
CharKey
public CharKey()
Default constructor for a CharKey.
CharKey
public CharKey(char key)
Constructor CharKey
key - char value of this object.
equals
public final boolean equals(Object obj)
Override of equals() for this object
- True if this object equals this string value
hashCode
public final int hashCode()
Get the hash value of the character.
- hash value of the character.
setChar
public final void setChar(char c)
Get the hash value of the character.
Copyright B) 2004 Apache XML Project. All Rights Reserved.