Package one.microstream.chars
Class CharView
- java.lang.Object
-
- one.microstream.chars.CharView
-
- All Implemented Interfaces:
CharSequence
public final class CharView extends Object implements CharSequence
-
-
Constructor Summary
Constructors Constructor Description CharView(char[] data, int offset, int length)
-
Method Summary
Modifier and Type Method Description charcharAt(int index)intlength()CharSequencesubSequence(int start, int end)StringtoString()voidvalidateIndex(int index)voidvalidateRange(int offset, int length)-
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
-
validateIndex
public final void validateIndex(int index)
-
validateRange
public final void validateRange(int offset, int length)
-
length
public final int length()
- Specified by:
lengthin interfaceCharSequence
-
charAt
public final char charAt(int index)
- Specified by:
charAtin interfaceCharSequence
-
subSequence
public final CharSequence subSequence(int start, int end)
- Specified by:
subSequencein interfaceCharSequence
-
toString
public final String toString()
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
-