Class StringUTF32
java.lang.Object
com.oracle.truffle.regex.tregex.string.StringUTF32
- All Implemented Interfaces:
AbstractString,Iterable<Integer>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.truffle.api.strings.TruffleStringcom.oracle.truffle.api.strings.TruffleString.WithMaskasTStringMask(com.oracle.truffle.api.strings.TruffleString pattern) content()intiterator()booleanregionMatches(int offset, AbstractString other, int ooffset, int encodedLength) substring(int start, int end) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.regex.tregex.string.AbstractString
defaultToStringMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
StringUTF32
public StringUTF32(int[] str)
-
-
Method Details
-
encodedLength
public int encodedLength()- Specified by:
encodedLengthin interfaceAbstractString
-
content
- Specified by:
contentin interfaceAbstractString
-
toString
-
substring
- Specified by:
substringin interfaceAbstractString
-
regionMatches
- Specified by:
regionMatchesin interfaceAbstractString
-
asTString
public com.oracle.truffle.api.strings.TruffleString asTString()- Specified by:
asTStringin interfaceAbstractString
-
asTStringMask
public com.oracle.truffle.api.strings.TruffleString.WithMask asTStringMask(com.oracle.truffle.api.strings.TruffleString pattern) - Specified by:
asTStringMaskin interfaceAbstractString
-
iterator
- Specified by:
iteratorin interfaceAbstractString- Specified by:
iteratorin interfaceIterable<Integer>
-