T - The type of element which is to be sequencedpublic interface 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
get(long). |
int[] |
getSequence()
Get the integer sequence that is used to index into the operations.
|
<U> OpSequence<U> |
transform(Function<T,U> func)
Map this OpSequence to another type of OpSequence.
|
T get(long selector)
selector - the long value that determines the next opList<T> getOps()
get(long).List of Tint[] getSequence()
<U> OpSequence<U> transform(Function<T,U> func)
U - The target type of the transformation.func - The transformation function from this to another typeCopyright © 2018. All rights reserved.