Package org.apache.iceberg.util
Class CharSequenceWrapper
java.lang.Object
org.apache.iceberg.util.CharSequenceWrapper
- All Implemented Interfaces:
Serializable,CharSequence
Wrapper class to adapt CharSequence for use in maps and sets.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) booleanget()inthashCode()intlength()set(CharSequence newWrapped) subSequence(int start, int end) toString()static CharSequenceWrapperwrap(CharSequence seq) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Method Details
-
wrap
-
set
-
get
-
equals
-
hashCode
public int hashCode() -
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-