Class NbtPathExpressionParseHandlerListSlice.Expression
java.lang.Object
org.cyclops.cyclopscore.nbt.path.parse.NbtPathExpressionParseHandlerListSlice.Expression
- All Implemented Interfaces:
INbtPathExpression
- Enclosing class:
- NbtPathExpressionParseHandlerListSlice
public static class NbtPathExpressionParseHandlerListSlice.Expression
extends Object
implements INbtPathExpression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getEnd()
int
getStart()
int
getStep()
matchContexts
(Stream<NbtPathExpressionExecutionContext> executionContexts) Find all matches for the given stream of NBT tags.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.cyclopscore.nbt.path.INbtPathExpression
asNavigation, asNavigation, match, match, test, test
-
Constructor Details
-
Expression
public Expression(int start, int end, int step)
-
-
Method Details
-
getStart
public int getStart() -
getEnd
public int getEnd() -
getStep
public int getStep() -
matchContexts
public NbtPathExpressionMatches matchContexts(Stream<NbtPathExpressionExecutionContext> executionContexts) Description copied from interface:INbtPathExpression
Find all matches for the given stream of NBT tags.- Specified by:
matchContexts
in interfaceINbtPathExpression
- Parameters:
executionContexts
- A stream of NBT execution contexts.- Returns:
- The matches.
-