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, makeString
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
count, makeString
public 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–2016. All rights reserved.