Modifier and Type | Method and Description |
---|---|
boolean |
add(Action<?,?> e) |
void |
add(int index,
Action<?,?> element) |
void |
addFirst(Action<?,?> e) |
void |
addLast(Action<?,?> e) |
void |
clear() |
Action<?,?> |
get(int index) |
Action<?,?> |
getFirst() |
Supplier<BaseStream<?,?>> |
getInitialSupplier() |
Action<?,?> |
getLast() |
boolean |
isEmpty() |
boolean |
isOrdered()
Returns whether this pipeline, if a terminal operation were to be
executed, would execute in parallel.
|
boolean |
isParallel()
Returns whether this pipeline, if a terminal operation were to be
executed, would execute in parallel.
|
Action<?,?> |
remove(int index) |
Action<?,?> |
removeFirst()
Removes and returns the first element from this pipeline.
|
boolean |
removeIf(Predicate<? super Action<?,?>> filter) |
Action<?,?> |
removeLast()
Removes and returns the last element from this pipeline.
|
void |
setInitialSupplier(Supplier<BaseStream<?,?>> initialSupplier) |
void |
setOrdered(boolean flag)
Sets if this Pipeline is ordered.
|
void |
setParallel(boolean flag)
Sets if this Pipeline is parallel.
|
int |
size() |
Stream<Action<?,?>> |
stream() |
forEach, iterator, spliterator
Action<?,?> getFirst()
Action<?,?> getLast()
Action<?,?> removeFirst() throws NoSuchElementException
NoSuchElementException
- if this pipeline is emptyAction<?,?> removeLast() throws NoSuchElementException
NoSuchElementException
- if this pipeline is emptyvoid addFirst(Action<?,?> e)
void addLast(Action<?,?> e)
int size()
boolean add(Action<?,?> e)
void clear()
Action<?,?> get(int index)
void add(int index, Action<?,?> element)
Action<?,?> remove(int index)
boolean isEmpty()
Supplier<BaseStream<?,?>> getInitialSupplier()
void setInitialSupplier(Supplier<BaseStream<?,?>> initialSupplier)
boolean isParallel()
true
if this pipeline would execute in parallel if
executedvoid setParallel(boolean flag)
flag
- true
if the Pipeline is parallel,
false
if the Pipeline is sequentialboolean isOrdered()
true
if this pipeline would execute in parallel if
executedvoid setOrdered(boolean flag)
flag
- true
if the Pipeline is ordered,
false
if the Pipeline is unorderedCopyright © 2017 Speedment, Inc.. All rights reserved.