Package org.eclipse.collections.impl
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
Modifier and TypeClassDescriptionstatic class
-
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.Methods inherited from class org.eclipse.collections.impl.collection.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, getFirst, getLast, 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, 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, zipWithIndex
Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEach
Methods inherited from interface java.lang.Iterable
spliterator
Methods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, containsBy, flatCollectWith, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, reduce, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBiMap, toImmutableMap, toImmutableSortedListBy, toSortedBagBy, toSortedSetBy
-
Method Details
-
of
This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable. -
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.
-