public interface XProcessingCollection<E> extends Processable<E>, XRemovingCollection<E>, XGettingCollection<E>
retrieveBy(Predicate)).
Splitting it up into a (pure) RemovingCollection and a RemGetCollection would cause
more structural clutter than it's worth.| Modifier and Type | Interface and Description |
|---|---|
static interface |
XProcessingCollection.Factory<E> |
XGettingCollection.Creator<E>XIterable.Executor<E>Copyable.Static| Modifier and Type | Method and Description |
|---|---|
E |
fetch() |
<P extends Consumer<? super E>> |
iterate(P procedure)
Executes the given procedure for each element of the
XIterable
until all elements have been processed or the action throws an
exception. |
<C extends Consumer<? super E>> |
moveTo(C target,
Predicate<? super E> predicate) |
E |
pinch() |
long |
removeBy(Predicate<? super E> predicate) |
long |
removeDuplicates(Equalator<? super E> equalator) |
E |
retrieve(E element) |
E |
retrieveBy(Predicate<? super E> predicate) |
processclear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateapplies, contains, containsAll, containsId, containsSearched, copy, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, get, hashCode, hasVolatileElements, immure, intersect, intSize, iterator, join, max, min, nullContained, old, search, seek, size, toArray, toArray, union, viewnullAllowedforEach, spliteratorisFull, maximumCapacity, remainingCapacityE fetch()
E pinch()
<P extends Consumer<? super E>> P iterate(P procedure)
XIterableXIterable
until all elements have been processed or the action throws an
exception. Unless otherwise specified by the implementing class,
procedures are performed in the order of iteration (if an iteration order
is specified). Exceptions thrown by the procedure are relayed to the
caller.Iterable.forEach(Consumer).Copyright © 2022 MicroStream Software. All rights reserved.