public abstract static class TruffleString.HashCodeNode extends Node
TruffleString.HashCodeNode.execute(AbstractTruffleString, TruffleString.Encoding) for details.AbstractTruffleString.hashCode()Node.Child, Node.Children| Modifier and Type | Method and Description |
|---|---|
static TruffleString.HashCodeNode |
create()
Create a new
TruffleString.HashCodeNode. |
abstract int |
execute(AbstractTruffleString a,
TruffleString.Encoding expectedEncoding)
Returns the string's hash code.
|
static TruffleString.HashCodeNode |
getUncached()
Get the uncached version of
TruffleString.HashCodeNode. |
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic abstract int execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)
public static TruffleString.HashCodeNode create()
TruffleString.HashCodeNode.public static TruffleString.HashCodeNode getUncached()
TruffleString.HashCodeNode.