|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.icu.util.CaseInsensitiveString
A string used as a key in java.util.Hashtable and other collections. It retains case information, but its equals() and hashCode() methods ignore case.
Constructor Summary | |
CaseInsensitiveString(String s)
Constructs an CaseInsentiveString object from the given string |
Method Summary | |
boolean |
equals(Object o)
Compare the object with this |
String |
getString()
returns the underlying string |
int |
hashCode()
Returns the hashCode of this object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CaseInsensitiveString(String s)
s
- The string to construct this object fromMethod Detail |
public String getString()
public boolean equals(Object o)
o
- Object to compare this object withpublic int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |