Class TruffleString.IntIndexOfAnyIntUTF32Node
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
TruffleString
Node to find the index of the first occurrence of any
int
from a given array. See
execute(AbstractTruffleString, int, int, int[])
for details.- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a newTruffleString.IntIndexOfAnyIntUTF32Node
.abstract int
execute
(AbstractTruffleString a, int fromIntIndex, int maxIntIndex, int[] values) Return the int index of the first occurrence of any int contained invalues
, bounded byfromIntIndex
(inclusive) andmaxIntIndex
(exclusive).Get the uncached version ofTruffleString.IntIndexOfAnyIntUTF32Node
.Methods inherited from class Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Method Details
-
execute
public abstract int execute(AbstractTruffleString a, int fromIntIndex, int maxIntIndex, int[] values) Return the int index of the first occurrence of any int contained invalues
, bounded byfromIntIndex
(inclusive) andmaxIntIndex
(exclusive).If none of the values is found, return a negative value.
- Since:
- 22.1
-
create
Create a newTruffleString.IntIndexOfAnyIntUTF32Node
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleString.IntIndexOfAnyIntUTF32Node
.- Since:
- 22.1
-