public abstract class AbstractTruffleString extends Object
TruffleString
or a MutableTruffleString
. Note that values of this type are not valid interop values.
They must be converted to TruffleString
before passing them to other languages.TruffleString
Modifier and Type | Method and Description |
---|---|
MutableTruffleString |
asManagedMutableTruffleStringUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.AsManagedNode . |
TruffleString |
asManagedTruffleStringUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.AsManagedNode . |
TruffleString |
asManagedTruffleStringUncached(TruffleString.Encoding expectedEncoding,
boolean cacheResult)
Shorthand for calling the uncached version of
TruffleString.AsManagedNode . |
MutableTruffleString |
asMutableTruffleStringUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
MutableTruffleString.AsMutableTruffleStringNode . |
TruffleString |
asTruffleStringUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode . |
int |
byteIndexOfAnyByteUncached(int fromByteIndex,
int maxByteIndex,
byte[] values,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfAnyByteNode . |
int |
byteIndexOfCodePointUncached(int cp,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfCodePointNode . |
int |
byteIndexOfStringUncached(AbstractTruffleString b,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfStringNode . |
int |
byteIndexOfStringUncached(TruffleString.WithMask b,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfStringNode . |
int |
byteIndexToCodePointIndexUncached(int byteOffset,
int byteIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.ByteIndexToCodePointIndexNode . |
int |
byteLength(TruffleString.Encoding expectedEncoding)
Get this string's length in bytes.
|
int |
byteLengthOfCodePointUncached(int byteIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode . |
int |
byteLengthOfCodePointUncached(int byteIndex,
TruffleString.Encoding expectedEncoding,
TruffleString.ErrorHandling errorHandling)
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode . |
int |
charIndexOfAnyCharUTF16Uncached(int fromCharIndex,
int maxCharIndex,
char[] values)
Shorthand for calling the uncached version of
TruffleString.CharIndexOfAnyCharUTF16Node . |
int |
codePointAtByteIndexUncached(int i,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CodePointAtByteIndexNode . |
int |
codePointAtByteIndexUncached(int i,
TruffleString.Encoding expectedEncoding,
TruffleString.ErrorHandling errorHandling)
Shorthand for calling the uncached version of
TruffleString.CodePointAtByteIndexNode . |
int |
codePointAtIndexUncached(int i,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CodePointAtIndexNode . |
int |
codePointAtIndexUncached(int i,
TruffleString.Encoding expectedEncoding,
TruffleString.ErrorHandling errorHandling)
Shorthand for calling the uncached version of
TruffleString.CodePointAtIndexNode . |
int |
codePointIndexToByteIndexUncached(int byteOffset,
int codepointIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode . |
int |
codePointLengthUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CodePointLengthNode . |
boolean |
codeRangeEqualsUncached(TruffleString.CodeRange otherCodeRange)
Shorthand for calling the uncached version of
TruffleString.CodeRangeEqualsNode . |
int |
compareBytesUncached(AbstractTruffleString b,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CompareBytesNode . |
int |
compareCharsUTF16Uncached(AbstractTruffleString b)
Shorthand for calling the uncached version of
TruffleString.CompareCharsUTF16Node . |
int |
compareIntsUTF32Uncached(AbstractTruffleString b)
Shorthand for calling the uncached version of
TruffleString.CompareIntsUTF32Node . |
TruffleString |
concatUncached(AbstractTruffleString b,
TruffleString.Encoding expectedEncoding,
boolean lazy)
Shorthand for calling the uncached version of
TruffleString.ConcatNode . |
void |
copyToByteArrayUncached(int byteFromIndexA,
byte[] dst,
int byteFromIndexDst,
int byteLength,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CopyToByteArrayNode . |
byte[] |
copyToByteArrayUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CopyToByteArrayNode . |
void |
copyToNativeMemoryUncached(int byteFromIndexA,
Object pointerObject,
int byteFromIndexDst,
int byteLength,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CopyToNativeMemoryNode . |
TruffleStringIterator |
createBackwardCodePointIteratorUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CreateBackwardCodePointIteratorNode . |
TruffleStringIterator |
createCodePointIteratorUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.CreateCodePointIteratorNode . |
boolean |
equals(Object obj)
Returns
true if this string is equal to obj . |
boolean |
equalsUncached(AbstractTruffleString b,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.EqualNode . |
TruffleString |
forceEncodingUncached(TruffleString.Encoding expectedEncoding,
TruffleString.Encoding targetEncoding)
Shorthand for calling the uncached version of
TruffleString.ForceEncodingNode . |
TruffleString.CodeRange |
getByteCodeRangeUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.GetByteCodeRangeNode . |
TruffleString.CodeRange |
getCodeRangeImpreciseUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.GetCodeRangeImpreciseNode . |
TruffleString.CodeRange |
getCodeRangeUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.GetCodeRangeNode . |
InternalByteArray |
getInternalByteArrayUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.GetInternalByteArrayNode . |
Object |
getInternalNativePointerUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.GetInternalNativePointerNode . |
TruffleString.CompactionLevel |
getStringCompactionLevelUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.GetStringCompactionLevelNode . |
int |
hashCode()
Returns this string's hashcode.
|
int |
hashCodeUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.HashCodeNode . |
int |
indexOfCodePointUncached(int cp,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.IndexOfCodePointNode . |
int |
indexOfStringUncached(AbstractTruffleString b,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.IndexOfStringNode . |
int |
intIndexOfAnyIntUTF32Uncached(int fromIntIndex,
int maxIntIndex,
int[] values)
Shorthand for calling the uncached version of
TruffleString.IntIndexOfAnyIntUTF32Node . |
boolean |
isCompatibleToUncached(TruffleString.Encoding expectedEncoding)
Returns
true if this string is compatible to the given encoding. |
boolean |
isEmpty()
Returns
true if this string is empty. |
boolean |
isImmutable()
Returns
true if this string is immutable, i.e. |
boolean |
isManaged()
Returns
true if this string is not backed by a native pointer. |
boolean |
isMutable()
Returns
true if this string is mutable, i.e. |
boolean |
isNative()
Returns
true if this string is backed by a native pointer. |
boolean |
isValidUncached(TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.IsValidNode . |
int |
lastByteIndexOfCodePointUncached(int cp,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfCodePointNode . |
int |
lastByteIndexOfStringUncached(AbstractTruffleString b,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfStringNode . |
int |
lastByteIndexOfStringUncached(TruffleString.WithMask b,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfStringNode . |
int |
lastIndexOfCodePointUncached(int cp,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.LastIndexOfCodePointNode . |
int |
lastIndexOfStringUncached(AbstractTruffleString b,
int fromIndex,
int toIndex,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.LastIndexOfStringNode . |
void |
materializeUncached(AbstractTruffleString a,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.MaterializeNode . |
double |
parseDoubleUncached()
Shorthand for calling the uncached version of
TruffleString.ParseDoubleNode . |
int |
parseIntUncached()
Shorthand for calling the uncached version of
TruffleString.ParseIntNode . |
int |
parseIntUncached(int radix)
Shorthand for calling the uncached version of
TruffleString.ParseIntNode . |
long |
parseLongUncached()
Shorthand for calling the uncached version of
TruffleString.ParseLongNode . |
long |
parseLongUncached(int radix)
Shorthand for calling the uncached version of
TruffleString.ParseLongNode . |
int |
readByteUncached(int i,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.ReadByteNode . |
int |
readCharUTF16Uncached(int i)
Shorthand for calling the uncached version of
TruffleString.ReadCharUTF16Node . |
boolean |
regionEqualByteIndexUncached(int fromByteIndexA,
AbstractTruffleString b,
int fromByteIndexB,
int byteLength,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.RegionEqualByteIndexNode . |
boolean |
regionEqualByteIndexUncached(int fromByteIndexA,
TruffleString.WithMask b,
int fromByteIndexB,
int byteLength,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.RegionEqualByteIndexNode . |
boolean |
regionEqualsUncached(int fromIndexA,
AbstractTruffleString b,
int fromIndexB,
int regionLength,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.RegionEqualNode . |
TruffleString |
repeatUncached(int n,
TruffleString.Encoding expectedEncoding)
Shorthand for calling the uncached version of
TruffleString.RepeatNode . |
TruffleString |
substringByteIndexUncached(int fromByteIndex,
int byteLength,
TruffleString.Encoding expectedEncoding,
boolean lazy)
Shorthand for calling the uncached version of
TruffleString.SubstringByteIndexNode . |
TruffleString |
substringUncached(int fromIndex,
int substringLength,
TruffleString.Encoding expectedEncoding,
boolean lazy)
Shorthand for calling the uncached version of
TruffleString.SubstringNode . |
TruffleString |
switchEncodingUncached(TruffleString.Encoding targetEncoding)
Shorthand for calling the uncached version of
TruffleString.SwitchEncodingNode . |
TruffleString |
switchEncodingUncached(TruffleString.Encoding targetEncoding,
TranscodingErrorHandler errorHandler)
Shorthand for calling the uncached version of
TruffleString.SwitchEncodingNode . |
String |
toJavaStringUncached()
Shorthand for calling the uncached version of
TruffleString.ToJavaStringNode . |
String |
toString()
Returns a
String representation of this string. |
String |
toStringDebug()
Returns debug information about this string.
|
public final boolean isEmpty()
true
if this string is empty. This method is allowed to be used on fast
paths.public final int byteLength(TruffleString.Encoding expectedEncoding)
public final boolean isCompatibleToUncached(TruffleString.Encoding expectedEncoding)
true
if this string is compatible to the given encoding. Compatible for
TruffleString
means it is byte-equivalent in both the encoding used to create this
string and the given encoding. For MutableTruffleString
this method only returned
true if the passed encoding is the same encoding used to create this string.public final boolean isManaged()
true
if this string is not backed by a native pointer.public final boolean isNative()
true
if this string is backed by a native pointer.public final boolean isImmutable()
true
if this string is immutable, i.e. an instance of TruffleString
.public final boolean isMutable()
true
if this string is mutable, i.e. an instance of
MutableTruffleString
.public final TruffleString asTruffleStringUncached(TruffleString.Encoding expectedEncoding)
TruffleString.FromByteArrayNode
.public final TruffleString asManagedTruffleStringUncached(TruffleString.Encoding expectedEncoding)
TruffleString.AsManagedNode
.public final TruffleString asManagedTruffleStringUncached(TruffleString.Encoding expectedEncoding, boolean cacheResult)
TruffleString.AsManagedNode
.public final MutableTruffleString asMutableTruffleStringUncached(TruffleString.Encoding expectedEncoding)
MutableTruffleString.AsMutableTruffleStringNode
.public final MutableTruffleString asManagedMutableTruffleStringUncached(TruffleString.Encoding expectedEncoding)
TruffleString.AsManagedNode
.public void materializeUncached(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)
TruffleString.MaterializeNode
.public final TruffleString.CodeRange getCodeRangeUncached(TruffleString.Encoding expectedEncoding)
TruffleString.GetCodeRangeNode
.public final TruffleString.CodeRange getCodeRangeImpreciseUncached(TruffleString.Encoding expectedEncoding)
TruffleString.GetCodeRangeImpreciseNode
.public final TruffleString.CodeRange getByteCodeRangeUncached(TruffleString.Encoding expectedEncoding)
TruffleString.GetByteCodeRangeNode
.public final boolean codeRangeEqualsUncached(TruffleString.CodeRange otherCodeRange)
TruffleString.CodeRangeEqualsNode
.public final boolean isValidUncached(TruffleString.Encoding expectedEncoding)
TruffleString.IsValidNode
.public final TruffleString.CompactionLevel getStringCompactionLevelUncached(TruffleString.Encoding expectedEncoding)
TruffleString.GetStringCompactionLevelNode
.public final int codePointLengthUncached(TruffleString.Encoding expectedEncoding)
TruffleString.CodePointLengthNode
.public final int hashCodeUncached(TruffleString.Encoding expectedEncoding)
TruffleString.HashCodeNode
.public final int readByteUncached(int i, TruffleString.Encoding expectedEncoding)
TruffleString.ReadByteNode
.public final int readCharUTF16Uncached(int i)
TruffleString.ReadCharUTF16Node
.public final int byteLengthOfCodePointUncached(int byteIndex, TruffleString.Encoding expectedEncoding)
TruffleString.CodePointIndexToByteIndexNode
.public final int byteLengthOfCodePointUncached(int byteIndex, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)
TruffleString.CodePointIndexToByteIndexNode
.public final int byteIndexToCodePointIndexUncached(int byteOffset, int byteIndex, TruffleString.Encoding expectedEncoding)
TruffleString.ByteIndexToCodePointIndexNode
.public final int codePointIndexToByteIndexUncached(int byteOffset, int codepointIndex, TruffleString.Encoding expectedEncoding)
TruffleString.CodePointIndexToByteIndexNode
.public final int codePointAtIndexUncached(int i, TruffleString.Encoding expectedEncoding)
TruffleString.CodePointAtIndexNode
.public final int codePointAtIndexUncached(int i, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)
TruffleString.CodePointAtIndexNode
.public final int codePointAtByteIndexUncached(int i, TruffleString.Encoding expectedEncoding)
TruffleString.CodePointAtByteIndexNode
.public final int codePointAtByteIndexUncached(int i, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)
TruffleString.CodePointAtByteIndexNode
.public final int byteIndexOfAnyByteUncached(int fromByteIndex, int maxByteIndex, byte[] values, TruffleString.Encoding expectedEncoding)
TruffleString.ByteIndexOfAnyByteNode
.public final int charIndexOfAnyCharUTF16Uncached(int fromCharIndex, int maxCharIndex, char[] values)
TruffleString.CharIndexOfAnyCharUTF16Node
.public final int intIndexOfAnyIntUTF32Uncached(int fromIntIndex, int maxIntIndex, int[] values)
TruffleString.IntIndexOfAnyIntUTF32Node
.public final int indexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.IndexOfCodePointNode
.public final int byteIndexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.ByteIndexOfCodePointNode
.public final int lastIndexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.LastIndexOfCodePointNode
.public final int lastByteIndexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.LastByteIndexOfCodePointNode
.public final int indexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.IndexOfStringNode
.public final int byteIndexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.ByteIndexOfStringNode
.public final int byteIndexOfStringUncached(TruffleString.WithMask b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.ByteIndexOfStringNode
.public final int lastIndexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.LastIndexOfStringNode
.public final int lastByteIndexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.LastByteIndexOfStringNode
.public final int lastByteIndexOfStringUncached(TruffleString.WithMask b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)
TruffleString.LastByteIndexOfStringNode
.public final int compareBytesUncached(AbstractTruffleString b, TruffleString.Encoding expectedEncoding)
TruffleString.CompareBytesNode
.public final int compareCharsUTF16Uncached(AbstractTruffleString b)
TruffleString.CompareCharsUTF16Node
.public final int compareIntsUTF32Uncached(AbstractTruffleString b)
TruffleString.CompareIntsUTF32Node
.public final boolean regionEqualsUncached(int fromIndexA, AbstractTruffleString b, int fromIndexB, int regionLength, TruffleString.Encoding expectedEncoding)
TruffleString.RegionEqualNode
.public final boolean regionEqualByteIndexUncached(int fromByteIndexA, AbstractTruffleString b, int fromByteIndexB, int byteLength, TruffleString.Encoding expectedEncoding)
TruffleString.RegionEqualByteIndexNode
.public final boolean regionEqualByteIndexUncached(int fromByteIndexA, TruffleString.WithMask b, int fromByteIndexB, int byteLength, TruffleString.Encoding expectedEncoding)
TruffleString.RegionEqualByteIndexNode
.public final TruffleString concatUncached(AbstractTruffleString b, TruffleString.Encoding expectedEncoding, boolean lazy)
TruffleString.ConcatNode
.public final TruffleString repeatUncached(int n, TruffleString.Encoding expectedEncoding)
TruffleString.RepeatNode
.public final TruffleString substringUncached(int fromIndex, int substringLength, TruffleString.Encoding expectedEncoding, boolean lazy)
TruffleString.SubstringNode
.public final TruffleString substringByteIndexUncached(int fromByteIndex, int byteLength, TruffleString.Encoding expectedEncoding, boolean lazy)
TruffleString.SubstringByteIndexNode
.public final boolean equalsUncached(AbstractTruffleString b, TruffleString.Encoding expectedEncoding)
TruffleString.EqualNode
.public final int parseIntUncached() throws TruffleString.NumberFormatException
TruffleString.ParseIntNode
.TruffleString.NumberFormatException
public final int parseIntUncached(int radix) throws TruffleString.NumberFormatException
TruffleString.ParseIntNode
.TruffleString.NumberFormatException
public final long parseLongUncached() throws TruffleString.NumberFormatException
TruffleString.ParseLongNode
.TruffleString.NumberFormatException
public final long parseLongUncached(int radix) throws TruffleString.NumberFormatException
TruffleString.ParseLongNode
.TruffleString.NumberFormatException
public final double parseDoubleUncached() throws TruffleString.NumberFormatException
TruffleString.ParseDoubleNode
.TruffleString.NumberFormatException
public final InternalByteArray getInternalByteArrayUncached(TruffleString.Encoding expectedEncoding)
TruffleString.GetInternalByteArrayNode
.public final Object getInternalNativePointerUncached(TruffleString.Encoding expectedEncoding)
TruffleString.GetInternalNativePointerNode
.public final byte[] copyToByteArrayUncached(TruffleString.Encoding expectedEncoding)
TruffleString.CopyToByteArrayNode
.public final void copyToByteArrayUncached(int byteFromIndexA, byte[] dst, int byteFromIndexDst, int byteLength, TruffleString.Encoding expectedEncoding)
TruffleString.CopyToByteArrayNode
.public final void copyToNativeMemoryUncached(int byteFromIndexA, Object pointerObject, int byteFromIndexDst, int byteLength, TruffleString.Encoding expectedEncoding)
TruffleString.CopyToNativeMemoryNode
.public final String toJavaStringUncached()
TruffleString.ToJavaStringNode
.public final TruffleString switchEncodingUncached(TruffleString.Encoding targetEncoding)
TruffleString.SwitchEncodingNode
.public final TruffleString switchEncodingUncached(TruffleString.Encoding targetEncoding, TranscodingErrorHandler errorHandler)
TruffleString.SwitchEncodingNode
.public final TruffleString forceEncodingUncached(TruffleString.Encoding expectedEncoding, TruffleString.Encoding targetEncoding)
TruffleString.ForceEncodingNode
.public final TruffleStringIterator createCodePointIteratorUncached(TruffleString.Encoding expectedEncoding)
TruffleString.CreateCodePointIteratorNode
.public final TruffleStringIterator createBackwardCodePointIteratorUncached(TruffleString.Encoding expectedEncoding)
TruffleString.CreateBackwardCodePointIteratorNode
.public final boolean equals(Object obj)
true
if this string is equal to obj
. TruffleString
does not
attempt to automatically convert differently encoded strings during comparison, make sure to
convert both strings to a common encoding before comparing them!equals
in class Object
TruffleString.EqualNode
public final int hashCode()
hashCode
in class Object
TruffleString.HashCodeNode
public final String toString()
String
representation of this string. Do not use this on fast paths.toString
in class Object
TruffleString.ToJavaStringNode
public final String toStringDebug()