public static class SequencePlanner.Sequence<T> extends Object implements OpSequence<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get(long selector)
Get the next operation for the given long value.
|
List<T> |
getOps()
Get the list of individual operations which could be returned by
OpSequence.get(long). |
int[] |
getSequence()
Get the integer sequence that is used to index into the operations.
|
SequencerType |
getSequencerType() |
<U> SequencePlanner.Sequence<U> |
transform(Function<T,U> func)
Map this OpSequence to another type of OpSequence.
|
public T get(long selector)
OpSequenceget in interface OpSequence<T>selector - the long value that determines the next oppublic List<T> getOps()
OpSequenceOpSequence.get(long).getOps in interface OpSequence<T>List of Tpublic int[] getSequence()
OpSequencegetSequence in interface OpSequence<T>public SequencerType getSequencerType()
public <U> SequencePlanner.Sequence<U> transform(Function<T,U> func)
OpSequencetransform in interface OpSequence<T>U - The target type of the transformation.func - The transformation function from this to another typeCopyright © 2018. All rights reserved.