Package ch.njol.util
Class CaseInsensitiveString
java.lang.Object
ch.njol.util.CaseInsensitiveString
- All Implemented Interfaces:
Serializable,CharSequence,Comparable<CharSequence>
public class CaseInsensitiveString
extends Object
implements Serializable, Comparable<CharSequence>, CharSequence
A string which is compared ignoring it's case.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int i) intbooleaninthashCode()intlength()subSequence(int start, int end) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
CaseInsensitiveString
-
CaseInsensitiveString
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
charAt
public char charAt(int i) - Specified by:
charAtin interfaceCharSequence
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
compareTo
- Specified by:
compareToin interfaceComparable<CharSequence>
-