Class SynchronizedRichIterable<T>
java.lang.Object
org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable<T>
org.eclipse.collections.impl.SynchronizedRichIterable<T>
- All Implemented Interfaces:
Serializable, Iterable<T>, InternalIterable<T>, RichIterable<T>
public class SynchronizedRichIterable<T>
extends AbstractSynchronizedRichIterable<T>
implements Serializable
A synchronized view of a RichIterable.
- Since:
- 5.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsFields inherited from class AbstractSynchronizedRichIterable
delegate, lock -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSynchronizedRichIterable(RichIterable<T> iterable) protectedSynchronizedRichIterable(RichIterable<T> iterable, Object newLock) -
Method Summary
Modifier and TypeMethodDescriptionstatic <E> SynchronizedRichIterable<E> of(RichIterable<E> iterable) This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable.static <E> SynchronizedRichIterable<E> of(RichIterable<E> iterable, Object lock) This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable.protected ObjectMethods inherited from class AbstractSynchronizedRichIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collect, collectBoolean, collectBoolean, collectByte, collectByte, collectChar, collectChar, collectDouble, collectDouble, collectFloat, collectFloat, collectIf, collectIf, collectInt, collectInt, collectLong, collectLong, collectShort, collectShort, collectWith, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsNone, containsNoneIterable, count, countBy, countBy, countByEach, countByEach, countByWith, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, equals, flatCollect, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, forEachWith, forEachWithIndex, getDelegate, getFirst, getLast, getLock, getOnly, groupBy, groupBy, groupByEach, groupByEach, groupByUniqueKey, groupByUniqueKey, hashCode, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, iterator, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, partition, partitionWith, reduceBy, reject, reject, rejectWith, rejectWith, select, select, selectInstancesOf, selectWith, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, tap, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableList, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toString, zip, zip, zipWithIndex, zipWithIndexMethods inherited from interface InternalIterable
forEachMethods inherited from interface Iterable
spliteratorMethods inherited from interface RichIterable
aggregateBy, containsBy, flatCollectWith, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, reduce, reduceBy, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBiMap, toImmutableMap, toImmutableSortedListBy, toSortedBagBy, toSortedSetBy
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SynchronizedRichIterable
-
SynchronizedRichIterable
-
-
Method Details
-
of
This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable. -
writeReplace
-
of
This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable. Additionally, a developer specifies which lock to use with the collection.
-