public class SelectUnsortedBagBatch<T> extends AbstractBatch<T> implements UnsortedBagBatch<T>
Constructor and Description |
---|
SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch,
Predicate<? super T> predicate) |
Modifier and Type | Method and Description |
---|---|
<V> UnsortedBagBatch<V> |
collect(Function<? super T,? extends V> function) |
void |
forEach(Procedure<? super T> procedure) |
void |
forEachWithOccurrences(ObjectIntProcedure<? super T> procedure) |
UnsortedBagBatch<T> |
select(Predicate<? super T> predicate) |
count, makeString
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
count, makeString
public SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch, Predicate<? super T> predicate)
public void forEachWithOccurrences(ObjectIntProcedure<? super T> procedure)
forEachWithOccurrences
in interface UnsortedBagBatch<T>
public UnsortedBagBatch<T> select(Predicate<? super T> predicate)
public <V> UnsortedBagBatch<V> collect(Function<? super T,? extends V> function)
Copyright © 2004–2016. All rights reserved.