public class SelectUnsortedBagBatch<T> extends AbstractBatch<T> implements UnsortedBagBatch<T>
| Constructor and Description |
|---|
SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch,
com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> UnsortedBagBatch<V> |
collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
void |
forEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
void |
forEachWithOccurrences(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> procedure) |
UnsortedBagBatch<T> |
select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
count, makeStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, makeStringpublic SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch, com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
public void forEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
public void forEachWithOccurrences(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> procedure)
forEachWithOccurrences in interface UnsortedBagBatch<T>public UnsortedBagBatch<T> select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
public <V> UnsortedBagBatch<V> collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function)