public class CaseInsensitiveString
extends java.lang.Object
Constructor and Description |
---|
CaseInsensitiveString(java.lang.String str)
Create a new CaseInsensitiveString with the given String used for the
basis of [case insensitive] equality of thsi object.
|
public CaseInsensitiveString(java.lang.String str)
str
- The underlying String of this CaseInsensitiveStringjava.lang.IllegalArgumentException
- if the given String is nullpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object