T
-public interface PgxCollection<T>
Modifier and Type | Method and Description |
---|---|
PgxCollection<T> |
filter(java.util.function.Predicate<T> predicate)
Filter the elements in the collection by the given predicate.
|
void |
forEach(java.util.function.Consumer<T> callable)
Run the callable for each element in the collection in parallel.
|
void |
forSequential(java.util.function.Consumer<T> callable)
Run the callable for each element in the collection in sequence.
|
PgxCollection<T> filter(java.util.function.Predicate<T> predicate)
predicate
-void forEach(java.util.function.Consumer<T> callable)
callable
-void forSequential(java.util.function.Consumer<T> callable)
callable
-