Class IndexOfOp
java.lang.Object
org.ek9lang.compiler.support.streams.IndexOfOp
- All Implemented Interfaces:
ToIntBiFunction<List<EK9Parser.StreamPartContext>, Integer>
public final class IndexOfOp
extends Object
implements ToIntBiFunction<List<EK9Parser.StreamPartContext>, Integer>
The index of the first stage whose operator is
opType, or -1.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintapplyAsInt(List<EK9Parser.StreamPartContext> stages, Integer opType)
-
Constructor Details
-
IndexOfOp
public IndexOfOp()
-
-
Method Details
-
applyAsInt
- Specified by:
applyAsIntin interfaceToIntBiFunction<List<EK9Parser.StreamPartContext>, Integer>
-