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
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ImmutableTreeSetBatch
(int chunkStartIndex, int chunkEndIndex) -
Method Summary
Modifier and TypeMethodDescriptionboolean
allSatisfy
(Predicate<? super T> predicate) boolean
anySatisfy
(Predicate<? super T> predicate) <V> ListBatch
<V> int
distinct
(ConcurrentHashMap<T, Boolean> distinct) <V> ListBatch
<V> flatCollect
(Function<? super T, ? extends Iterable<V>> function) void
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
-
Field Details
-
chunkStartIndex
private final int chunkStartIndex -
chunkEndIndex
private final int chunkEndIndex
-
-
Constructor Details
-
ImmutableTreeSetBatch
private ImmutableTreeSetBatch(int chunkStartIndex, int chunkEndIndex)
-
-
Method Details
-
forEach
-
count
-
anySatisfy
- Specified by:
anySatisfy
in interfaceRootBatch<T>
-
allSatisfy
- Specified by:
allSatisfy
in interfaceRootBatch<T>
-
detect
-
select
- Specified by:
select
in interfaceBatch<T>
- Specified by:
select
in interfaceOrderedBatch<T>
- Specified by:
select
in interfaceSortedSetBatch<T>
-
collect
-
flatCollect
- Specified by:
flatCollect
in interfaceBatch<T>
- Specified by:
flatCollect
in interfaceOrderedBatch<T>
-
distinct
- Specified by:
distinct
in interfaceOrderedBatch<T>
- Specified by:
distinct
in interfaceSortedSetBatch<T>
-