Package ai.timefold.jpyinterpreter.util
Class ByteCharSequence
java.lang.Object
ai.timefold.jpyinterpreter.util.ByteCharSequence
- All Implemented Interfaces:
CharSequence
-
Constructor Summary
ConstructorsConstructorDescriptionByteCharSequence(byte[] data) ByteCharSequence(byte[] data, int inclusiveStartIndex, int exclusiveEndIndex) -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int i) intlength()subSequence(int from, int to) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
ByteCharSequence
public ByteCharSequence(byte[] data) -
ByteCharSequence
public ByteCharSequence(byte[] data, int inclusiveStartIndex, int exclusiveEndIndex)
-
-
Method Details
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int i) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-