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