- java.lang.Object
-
- io.xlate.edi.internal.stream.CharArraySequence
-
- All Implemented Interfaces:
CharSequence,Comparable<CharSequence>
public class CharArraySequence extends Object implements CharSequence, Comparable<CharSequence>
-
-
Constructor Summary
Constructors Constructor Description CharArraySequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description charcharAt(int index)voidclear()intcompareTo(CharSequence other)char[]getText()intlength()voidputToBuffer(CharBuffer buffer)voidset(char[] text, int start, int length)CharSequencesubSequence(int start, int end)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Method Detail
-
set
public void set(char[] text, int start, int length)
-
clear
public void clear()
-
putToBuffer
public void putToBuffer(CharBuffer buffer)
-
length
public int length()
- Specified by:
lengthin interfaceCharSequence
-
getText
public char[] getText()
-
charAt
public char charAt(int index)
- Specified by:
charAtin interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequencein interfaceCharSequence
-
compareTo
public int compareTo(CharSequence other)
- Specified by:
compareToin interfaceComparable<CharSequence>
-
toString
public String toString()
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
-