Interface AbstractString

All Superinterfaces:
Iterable<Integer>
All Known Implementing Classes:
StringASCII, StringLATIN1, StringUTF16, StringUTF32, StringUTF8

public interface AbstractString extends Iterable<Integer>
  • Method Details

    • iterator

      Specified by:
      iterator in interface Iterable<Integer>
    • encodedLength

      int encodedLength()
    • content

      Object content()
    • substring

      AbstractString substring(int start, int end)
    • regionMatches

      boolean regionMatches(int offset, AbstractString other, int ooffset, int encodedLength)
    • asTString

      com.oracle.truffle.api.strings.TruffleString asTString()
    • asTStringMask

      com.oracle.truffle.api.strings.TruffleString.WithMask asTStringMask(com.oracle.truffle.api.strings.TruffleString pattern)
    • defaultToString

      default String defaultToString()