Enhydra 3.1 API

org.apache.xalan.xpath.xml
Class StringKey

java.lang.Object
  |
  +--org.apache.xalan.xpath.xml.StringKey

public class StringKey
extends java.lang.Object

Simple class for fast lookup of string values, when used with hashtables. This class caches the hash value of the string.


Constructor Summary
StringKey(java.lang.String key)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringKey

public StringKey(java.lang.String key)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Enhydra 3.1 API