Class ImmutableTreeSet.ImmutableTreeSetBatch
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
-
- org.eclipse.collections.impl.set.sorted.immutable.ImmutableTreeSet.ImmutableTreeSetBatch
-
- All Implemented Interfaces:
Batch<T>,OrderedBatch<T>,RootBatch<T>,RootSortedSetBatch<T>,SortedSetBatch<T>
- Enclosing class:
- ImmutableTreeSet<T>
private final class ImmutableTreeSet.ImmutableTreeSetBatch extends AbstractBatch<T> implements RootSortedSetBatch<T>
-
-
Field Summary
Fields Modifier and Type Field Description private intchunkEndIndexprivate intchunkStartIndex
-
Constructor Summary
Constructors Modifier Constructor Description privateImmutableTreeSetBatch(int chunkStartIndex, int chunkEndIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(Predicate<? super T> predicate)booleananySatisfy(Predicate<? super T> predicate)<V> ListBatch<V>collect(Function<? super T,? extends V> function)intcount(Predicate<? super T> predicate)Tdetect(Predicate<? super T> predicate)SortedSetBatch<T>distinct(ConcurrentHashMap<T,java.lang.Boolean> distinct)<V> ListBatch<V>flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)voidforEach(Procedure<? super T> procedure)SortedSetBatch<T>select(Predicate<? super T> predicate)-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractBatch
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.impl.lazy.parallel.Batch
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
-
-
-
Method Detail
-
anySatisfy
public boolean anySatisfy(Predicate<? super T> predicate)
- Specified by:
anySatisfyin interfaceRootBatch<T>
-
allSatisfy
public boolean allSatisfy(Predicate<? super T> predicate)
- Specified by:
allSatisfyin interfaceRootBatch<T>
-
select
public SortedSetBatch<T> select(Predicate<? super T> predicate)
- Specified by:
selectin interfaceBatch<T>- Specified by:
selectin interfaceOrderedBatch<T>- Specified by:
selectin interfaceSortedSetBatch<T>
-
flatCollect
public <V> ListBatch<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
- Specified by:
flatCollectin interfaceBatch<T>- Specified by:
flatCollectin interfaceOrderedBatch<T>
-
distinct
public SortedSetBatch<T> distinct(ConcurrentHashMap<T,java.lang.Boolean> distinct)
- Specified by:
distinctin interfaceOrderedBatch<T>- Specified by:
distinctin interfaceSortedSetBatch<T>
-
-