Top Inners Fields Constructors Methods
org.eclipse.collections.impl.lazy.parallel.list

pack-priv Class ParallelDistinctListIterable<T>

extends AbstractParallelUnsortedSetIterable<T, UnsortedSetBatch<T>>
Class Inheritance
Annotations
@Beta
Imports
java.util.concurrent.ExecutorService, org.eclipse.collections.api.LazyIterable, org.eclipse.collections.api.annotation.Beta, org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.predicate.Predicate, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.api.map.ConcurrentMutableMap, .MapIterable, org.eclipse.collections.api.multimap.set.UnsortedSetMultimap, org.eclipse.collections.impl.lazy.parallel.set.AbstractParallelUnsortedSetIterable, .UnsortedSetBatch, org.eclipse.collections.impl.map.mutable.ConcurrentHashMap, org.eclipse.collections.impl.multimap.set.UnifiedSetMultimap

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Field Summary

Modifier and TypeField and Description
private final AbstractParallelListIterable<T, ? extends ListBatch<T>>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public T
public void
public int
public ExecutorService
public <V> UnsortedSetMultimap<V, T>
public <V> UnsortedSetMultimap<V, T>
public <V> MapIterable<V, T>
public LazyIterable<UnsortedSetBatch<T>>
public Object[]
public <E> E[]
Inherited from org.eclipse.collections.impl.lazy.parallel.set.AbstractParallelUnsortedSetIterable:
asUniquecollectcollectIfcollectWithflatCollectisOrderedrejectrejectWithselectselectInstancesOfselectWith

Field Detail

delegateback to summary
private final AbstractParallelListIterable<T, ? extends ListBatch<T>> delegate

Constructor Detail

ParallelDistinctListIterableback to summary
pack-priv ParallelDistinctListIterable(AbstractParallelListIterable<T, ? extends ListBatch<T>> delegate)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(Predicate<? super T> predicate)

Implements org.eclipse.collections.api.ParallelIterable.allSatisfy.

Annotations
@Override
anySatisfyback to summary
public boolean anySatisfy(Predicate<? super T> predicate)

Implements org.eclipse.collections.api.ParallelIterable.anySatisfy.

Annotations
@Override
detectback to summary
public T detect(Predicate<? super T> predicate)

Implements org.eclipse.collections.api.ParallelIterable.detect.

Annotations
@Override
forEachback to summary
public void forEach(Procedure<? super T> procedure)

Implements org.eclipse.collections.api.ParallelIterable.forEach.

Annotations
@Override
getBatchSizeback to summary
public int getBatchSize()

Implements abstract org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable.getBatchSize.

Annotations
@Override
getExecutorServiceback to summary
public ExecutorService getExecutorService()

Implements abstract org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable.getExecutorService.

Annotations
@Override
groupByback to summary
public <V> UnsortedSetMultimap<V, T> groupBy(Function<? super T, ? extends V> function)

Overrides org.eclipse.collections.impl.lazy.parallel.set.AbstractParallelUnsortedSetIterable.groupBy.

Implements org.eclipse.collections.api.set.ParallelUnsortedSetIterable.groupBy, org.eclipse.collections.api.ParallelIterable.groupBy.

Annotations
@Override
groupByEachback to summary
public <V> UnsortedSetMultimap<V, T> groupByEach(Function<? super T, ? extends Iterable<V>> function)

Overrides org.eclipse.collections.impl.lazy.parallel.set.AbstractParallelUnsortedSetIterable.groupByEach.

Implements org.eclipse.collections.api.set.ParallelUnsortedSetIterable.groupByEach, org.eclipse.collections.api.ParallelIterable.groupByEach.

Annotations
@Override
groupByUniqueKeyback to summary
public <V> MapIterable<V, T> groupByUniqueKey(Function<? super T, ? extends V> function)

Overrides org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable.groupByUniqueKey.

Implements org.eclipse.collections.api.ParallelIterable.groupByUniqueKey.

Annotations
@Override
splitback to summary
public LazyIterable<UnsortedSetBatch<T>> split()

Implements abstract org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable.split.

Annotations
@Override
toArrayback to summary
public Object[] toArray()

Overrides default org.eclipse.collections.api.ParallelIterable.toArray.

Annotations
@Override
toArrayback to summary
public <E> E[] toArray(E[] array)

Overrides org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable.toArray.

Implements org.eclipse.collections.api.ParallelIterable.toArray.

Annotations
@Override
org.eclipse.collections.impl.lazy.parallel.list back to summary

private final Class ParallelDistinctListIterable.DistinctAndPredicate<T>

extends Object
implements Predicate<T>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.parallel.list.ParallelDistinctListIterable.DistinctAndPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.Predicate, java.io.Serializable, java.util.function.Predicate

Field Summary

Modifier and TypeField and Description
private final ConcurrentMutableMap<T, Boolean>
private final Predicate<? super T>

Constructor Summary

AccessConstructor and Description
private
DistinctAndPredicate(Predicate<? super T> predicate)

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

distinctback to summary
private final ConcurrentMutableMap<T, Boolean> distinct
predicateback to summary
private final Predicate<? super T> predicate

Constructor Detail

DistinctAndPredicateback to summary
private DistinctAndPredicate(Predicate<? super T> predicate)

Method Detail

acceptback to summary
public boolean accept(T each)

Implements org.eclipse.collections.api.block.predicate.Predicate.accept.

Annotations
@Override
org.eclipse.collections.impl.lazy.parallel.list back to summary

private final Class ParallelDistinctListIterable.DistinctOrPredicate<T>

extends Object
implements Predicate<T>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.parallel.list.ParallelDistinctListIterable.DistinctOrPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.Predicate, java.io.Serializable, java.util.function.Predicate

Field Summary

Modifier and TypeField and Description
private final ConcurrentMutableMap<T, Boolean>
private final Predicate<? super T>

Constructor Summary

AccessConstructor and Description
private
DistinctOrPredicate(Predicate<? super T> predicate)

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

distinctback to summary
private final ConcurrentMutableMap<T, Boolean> distinct
predicateback to summary
private final Predicate<? super T> predicate

Constructor Detail

DistinctOrPredicateback to summary
private DistinctOrPredicate(Predicate<? super T> predicate)

Method Detail

acceptback to summary
public boolean accept(T each)

Implements org.eclipse.collections.api.block.predicate.Predicate.accept.

Annotations
@Override