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 TypeMethodDescriptionchar
charAt
(int index) boolean
get()
int
hashCode()
int
length()
set
(CharSequence newWrapped) subSequence
(int start, int end) toString()
static CharSequenceWrapper
wrap
(CharSequence seq) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-