public class CaseInsensitiveString extends Object
| Constructor and Description |
|---|
CaseInsensitiveString(String s)
Constructs an CaseInsentiveString object from the given string
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Compare the object with this
|
String |
getString()
returns the underlying string
|
int |
hashCode()
Returns the hashCode of this object
|
String |
toString()
Overrides superclass method
|
public CaseInsensitiveString(String s)
s - The string to construct this object frompublic String getString()
public boolean equals(Object o)
equals in class Objecto - Object to compare this object withtrue if the specified object is equal to this Object; false otherwise.Object.hashCode()public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object)