Package com.ibm.icu.util
Class CaseInsensitiveString
java.lang.Object
com.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
ConstructorsConstructorDescriptionConstructs an CaseInsentiveString object from the given string -
Method Summary
-
Constructor Details
-
CaseInsensitiveString
Constructs an CaseInsentiveString object from the given string- Parameters:
s
- The string to construct this object from
-
-
Method Details
-
getString
returns the underlying string- Returns:
- String
-
equals
Compare the object with this -
hashCode
public int hashCode()Returns the hashCode of this object -
toString
Overrides superclass method
-