Class AbstractSynchronizedRichIterable<T>
java.lang.Object
org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable<T>
- All Implemented Interfaces:
Iterable<T>,InternalIterable<T>,RichIterable<T>
- Direct Known Subclasses:
AbstractSynchronizedMapIterable,AbstractSynchronizedMutableCollection,SynchronizedRichIterable
-
Method Summary
Modifier and TypeMethodDescription<K,V> MapIterable<K, V> aggregateBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) <K,V> MapIterable<K, V> aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) booleanallSatisfy(Predicate<? super T> predicate) <P> booleanallSatisfyWith(Predicate2<? super T, ? super P> predicate, P parameter) booleananySatisfy(Predicate<? super T> predicate) <P> booleananySatisfyWith(Predicate2<? super T, ? super P> predicate, P parameter) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()chunk(int size) <V> RichIterable<V><V,R extends Collection<V>>
RcollectBoolean(BooleanFunction<? super T> booleanFunction) <R extends MutableBooleanCollection>
RcollectBoolean(BooleanFunction<? super T> booleanFunction, R target) collectByte(ByteFunction<? super T> byteFunction) <R extends MutableByteCollection>
RcollectByte(ByteFunction<? super T> byteFunction, R target) collectChar(CharFunction<? super T> charFunction) <R extends MutableCharCollection>
RcollectChar(CharFunction<? super T> charFunction, R target) collectDouble(DoubleFunction<? super T> doubleFunction) <R extends MutableDoubleCollection>
RcollectDouble(DoubleFunction<? super T> doubleFunction, R target) collectFloat(FloatFunction<? super T> floatFunction) <R extends MutableFloatCollection>
RcollectFloat(FloatFunction<? super T> floatFunction, R target) <V> RichIterable<V><V,R extends Collection<V>>
RcollectInt(IntFunction<? super T> intFunction) <R extends MutableIntCollection>
RcollectInt(IntFunction<? super T> intFunction, R target) collectLong(LongFunction<? super T> longFunction) <R extends MutableLongCollection>
RcollectLong(LongFunction<? super T> longFunction, R target) collectShort(ShortFunction<? super T> shortFunction) <R extends MutableShortCollection>
RcollectShort(ShortFunction<? super T> shortFunction, R target) <P,A, R extends Collection<A>>
RcollectWith(Function2<? super T, ? super P, ? extends A> function, P parameter, R targetCollection) <P,V> RichIterable<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) booleanbooleancontainsAll(Collection<?> coll) booleancontainsAllArguments(Object... elements) booleancontainsAllIterable(Iterable<?> source) booleancontainsAny(Collection<?> source) booleancontainsAnyIterable(Iterable<?> source) booleancontainsNone(Collection<?> source) booleancontainsNoneIterable(Iterable<?> source) int<V> Bag<V><V,R extends MutableBagIterable<V>>
R<V> Bag<V>countByEach(Function<? super T, ? extends Iterable<V>> function) <V,R extends MutableBagIterable<V>>
RcountByEach(Function<? super T, ? extends Iterable<V>> function, R target) <V,P> Bag<V> countByWith(Function2<? super T, ? super P, ? extends V> function, P parameter) <V,P, R extends MutableBagIterable<V>>
RcountByWith(Function2<? super T, ? super P, ? extends V> function, P parameter, R target) <P> intcountWith(Predicate2<? super T, ? super P> predicate, P parameter) detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function) detectOptional(Predicate<? super T> predicate) <P> TdetectWith(Predicate2<? super T, ? super P> predicate, P parameter) <P> TdetectWithIfNone(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) detectWithOptional(Predicate2<? super T, ? super P> predicate, P parameter) voidboolean<V> RichIterable<V>flatCollect(Function<? super T, ? extends Iterable<V>> function) <V,R extends Collection<V>>
RflatCollect(Function<? super T, ? extends Iterable<V>> function, R target) <R extends MutableBooleanCollection>
RflatCollectBoolean(Function<? super T, ? extends BooleanIterable> function, R target) <R extends MutableByteCollection>
RflatCollectByte(Function<? super T, ? extends ByteIterable> function, R target) <R extends MutableCharCollection>
RflatCollectChar(Function<? super T, ? extends CharIterable> function, R target) <R extends MutableDoubleCollection>
RflatCollectDouble(Function<? super T, ? extends DoubleIterable> function, R target) <R extends MutableFloatCollection>
RflatCollectFloat(Function<? super T, ? extends FloatIterable> function, R target) <R extends MutableIntCollection>
RflatCollectInt(Function<? super T, ? extends IntIterable> function, R target) <R extends MutableLongCollection>
RflatCollectLong(Function<? super T, ? extends LongIterable> function, R target) <R extends MutableShortCollection>
RflatCollectShort(Function<? super T, ? extends ShortIterable> function, R target) <P> voidforEachWith(Procedure2<? super T, ? super P> procedure, P parameter) voidforEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure) getFirst()getLast()getOnly()<V,R extends MutableMultimap<V, T>>
RgroupByEach(Function<? super T, ? extends Iterable<V>> function) <V,R extends MutableMultimap<V, T>>
RgroupByEach(Function<? super T, ? extends Iterable<V>> function, R target) <V> MapIterable<V,T> groupByUniqueKey(Function<? super T, ? extends V> function) <V,R extends MutableMapIterable<V, T>>
RgroupByUniqueKey(Function<? super T, ? extends V> function, R target) inthashCode()doubleinjectInto(double injectedValue, DoubleObjectToDoubleFunction<? super T> function) floatinjectInto(float injectedValue, FloatObjectToFloatFunction<? super T> function) intinjectInto(int injectedValue, IntObjectToIntFunction<? super T> function) longinjectInto(long injectedValue, LongObjectToLongFunction<? super T> function) <IV> IVinjectInto(IV injectedValue, Function2<? super IV, ? super T, ? extends IV> function) <R extends Collection<T>>
Rinto(R target) booleanisEmpty()iterator()Must be called in a synchronized block.makeString(String separator) makeString(String start, String separator, String end) max()max(Comparator<? super T> comparator) <V extends Comparable<? super V>>
T<V extends Comparable<? super V>>
Optional<T>maxByOptional(Function<? super T, ? extends V> function) maxOptional(Comparator<? super T> comparator) min()min(Comparator<? super T> comparator) <V extends Comparable<? super V>>
T<V extends Comparable<? super V>>
Optional<T>minByOptional(Function<? super T, ? extends V> function) minOptional(Comparator<? super T> comparator) booleannoneSatisfy(Predicate<? super T> predicate) <P> booleannoneSatisfyWith(Predicate2<? super T, ? super P> predicate, P parameter) booleannotEmpty()<P> PartitionIterable<T>partitionWith(Predicate2<? super T, ? super P> predicate, P parameter) <K> MapIterable<K,T> reduceBy(Function<? super T, ? extends K> groupBy, Function2<? super T, ? super T, ? extends T> reduceFunction) <R extends Collection<T>>
R<P> RichIterable<T>rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) <P,R extends Collection<T>>
RrejectWith(Predicate2<? super T, ? super P> predicate, P parameter, R targetCollection) <R extends Collection<T>>
R<S> RichIterable<S>selectInstancesOf(Class<S> clazz) <P> RichIterable<T>selectWith(Predicate2<? super T, ? super P> predicate, P parameter) <P,R extends Collection<T>>
RselectWith(Predicate2<? super T, ? super P> predicate, P parameter, R targetCollection) intsize()<V> ObjectDoubleMap<V>sumByDouble(Function<? super T, ? extends V> groupBy, DoubleFunction<? super T> function) <V> ObjectDoubleMap<V>sumByFloat(Function<? super T, ? extends V> groupBy, FloatFunction<? super T> function) <V> ObjectLongMap<V>sumByInt(Function<? super T, ? extends V> groupBy, IntFunction<? super T> function) <V> ObjectLongMap<V>sumByLong(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) doublesumOfDouble(DoubleFunction<? super T> function) doublesumOfFloat(FloatFunction<? super T> function) longsumOfInt(IntFunction<? super T> function) longsumOfLong(LongFunction<? super T> function) Object[]toArray()<T> T[]toArray(T[] a) toBag()<NK,NV> MutableBiMap<NK, NV> toBiMap(Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) toImmutableSortedBag(Comparator<? super T> comparator) <V extends Comparable<? super V>>
ImmutableSortedBag<T>toImmutableSortedBagBy(Function<? super T, ? extends V> function) toImmutableSortedList(Comparator<? super T> comparator) toImmutableSortedSet(Comparator<? super T> comparator) <V extends Comparable<? super V>>
ImmutableSortedSet<T>toImmutableSortedSetBy(Function<? super T, ? extends V> function) toList()<K,V, R extends Map<K, V>>
RtoMap(Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction, R target) <NK,NV> MutableMap<NK, NV> toSet()toSortedBag(Comparator<? super T> comparator) toSortedList(Comparator<? super T> comparator) <V extends Comparable<? super V>>
MutableList<T>toSortedListBy(Function<? super T, ? extends V> function) <NK,NV> MutableSortedMap<NK, NV> toSortedMap(Comparator<? super NK> comparator, Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) <NK,NV> MutableSortedMap<NK, NV> toSortedMap(Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) <KK extends Comparable<? super KK>,NK, NV>
MutableSortedMap<NK,NV> toSortedMapBy(Function<? super NK, KK> sortBy, Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) toSortedSet(Comparator<? super T> comparator) toString()<S> RichIterable<Pair<T,S>> <S,R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,Integer>>>
RzipWithIndex(R target) Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEachMethods inherited from interface java.lang.Iterable
spliteratorMethods inherited from interface org.eclipse.collections.api.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
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfaceRichIterable<T>- Overrides:
toStringin classObject
-
iterator
Must be called in a synchronized block. -
forEachWithIndex
- Specified by:
forEachWithIndexin interfaceInternalIterable<T>
-
forEachWith
- Specified by:
forEachWithin interfaceInternalIterable<T>
-
size
public int size()- Specified by:
sizein interfaceRichIterable<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceRichIterable<T>
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfaceRichIterable<T>
-
getFirst
- Specified by:
getFirstin interfaceRichIterable<T>
-
getLast
- Specified by:
getLastin interfaceRichIterable<T>
-
contains
- Specified by:
containsin interfaceRichIterable<T>
-
containsAny
- Specified by:
containsAnyin interfaceRichIterable<T>
-
containsNone
- Specified by:
containsNonein interfaceRichIterable<T>
-
containsAnyIterable
- Specified by:
containsAnyIterablein interfaceRichIterable<T>
-
containsNoneIterable
- Specified by:
containsNoneIterablein interfaceRichIterable<T>
-
containsAllIterable
- Specified by:
containsAllIterablein interfaceRichIterable<T>
-
containsAll
- Specified by:
containsAllin interfaceRichIterable<T>
-
containsAllArguments
- Specified by:
containsAllArgumentsin interfaceRichIterable<T>
-
each
- Specified by:
eachin interfaceRichIterable<T>
-
select
- Specified by:
selectin interfaceRichIterable<T>
-
select
- Specified by:
selectin interfaceRichIterable<T>
-
selectWith
- Specified by:
selectWithin interfaceRichIterable<T>
-
selectWith
public <P,R extends Collection<T>> R selectWith(Predicate2<? super T, ? super P> predicate, P parameter, R targetCollection) - Specified by:
selectWithin interfaceRichIterable<T>
-
reject
- Specified by:
rejectin interfaceRichIterable<T>
-
rejectWith
- Specified by:
rejectWithin interfaceRichIterable<T>
-
reject
- Specified by:
rejectin interfaceRichIterable<T>
-
rejectWith
public <P,R extends Collection<T>> R rejectWith(Predicate2<? super T, ? super P> predicate, P parameter, R targetCollection) - Specified by:
rejectWithin interfaceRichIterable<T>
-
partition
- Specified by:
partitionin interfaceRichIterable<T>
-
partitionWith
public <P> PartitionIterable<T> partitionWith(Predicate2<? super T, ? super P> predicate, P parameter) - Specified by:
partitionWithin interfaceRichIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceRichIterable<T>
-
collect
- Specified by:
collectin interfaceRichIterable<T>
-
collectBoolean
- Specified by:
collectBooleanin interfaceRichIterable<T>
-
collectBoolean
public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super T> booleanFunction, R target) - Specified by:
collectBooleanin interfaceRichIterable<T>
-
flatCollectBoolean
public <R extends MutableBooleanCollection> R flatCollectBoolean(Function<? super T, ? extends BooleanIterable> function, R target) - Specified by:
flatCollectBooleanin interfaceRichIterable<T>
-
collectByte
public <R extends MutableByteCollection> R collectByte(ByteFunction<? super T> byteFunction, R target) - Specified by:
collectBytein interfaceRichIterable<T>
-
flatCollectByte
public <R extends MutableByteCollection> R flatCollectByte(Function<? super T, ? extends ByteIterable> function, R target) - Specified by:
flatCollectBytein interfaceRichIterable<T>
-
collectChar
public <R extends MutableCharCollection> R collectChar(CharFunction<? super T> charFunction, R target) - Specified by:
collectCharin interfaceRichIterable<T>
-
flatCollectChar
public <R extends MutableCharCollection> R flatCollectChar(Function<? super T, ? extends CharIterable> function, R target) - Specified by:
flatCollectCharin interfaceRichIterable<T>
-
collectDouble
public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super T> doubleFunction, R target) - Specified by:
collectDoublein interfaceRichIterable<T>
-
flatCollectDouble
public <R extends MutableDoubleCollection> R flatCollectDouble(Function<? super T, ? extends DoubleIterable> function, R target) - Specified by:
flatCollectDoublein interfaceRichIterable<T>
-
collectFloat
public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super T> floatFunction, R target) - Specified by:
collectFloatin interfaceRichIterable<T>
-
flatCollectFloat
public <R extends MutableFloatCollection> R flatCollectFloat(Function<? super T, ? extends FloatIterable> function, R target) - Specified by:
flatCollectFloatin interfaceRichIterable<T>
-
collectInt
- Specified by:
collectIntin interfaceRichIterable<T>
-
flatCollectInt
public <R extends MutableIntCollection> R flatCollectInt(Function<? super T, ? extends IntIterable> function, R target) - Specified by:
flatCollectIntin interfaceRichIterable<T>
-
collectLong
public <R extends MutableLongCollection> R collectLong(LongFunction<? super T> longFunction, R target) - Specified by:
collectLongin interfaceRichIterable<T>
-
flatCollectLong
public <R extends MutableLongCollection> R flatCollectLong(Function<? super T, ? extends LongIterable> function, R target) - Specified by:
flatCollectLongin interfaceRichIterable<T>
-
collectShort
public <R extends MutableShortCollection> R collectShort(ShortFunction<? super T> shortFunction, R target) - Specified by:
collectShortin interfaceRichIterable<T>
-
flatCollectShort
public <R extends MutableShortCollection> R flatCollectShort(Function<? super T, ? extends ShortIterable> function, R target) - Specified by:
flatCollectShortin interfaceRichIterable<T>
-
collect
- Specified by:
collectin interfaceRichIterable<T>
-
collectWith
public <P,A, R collectWithR extends Collection<A>> (Function2<? super T, ? super P, ? extends A> function, P parameter, R targetCollection) - Specified by:
collectWithin interfaceRichIterable<T>
-
collectIf
public <V,R extends Collection<V>> R collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) - Specified by:
collectIfin interfaceRichIterable<T>
-
flatCollect
public <V,R extends Collection<V>> R flatCollect(Function<? super T, ? extends Iterable<V>> function, R target) - Specified by:
flatCollectin interfaceRichIterable<T>
-
detect
- Specified by:
detectin interfaceRichIterable<T>
-
detectWith
- Specified by:
detectWithin interfaceRichIterable<T>
-
detectOptional
- Specified by:
detectOptionalin interfaceRichIterable<T>
-
detectWithOptional
- Specified by:
detectWithOptionalin interfaceRichIterable<T>
-
detectIfNone
- Specified by:
detectIfNonein interfaceRichIterable<T>
-
detectWithIfNone
public <P> T detectWithIfNone(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) - Specified by:
detectWithIfNonein interfaceRichIterable<T>
-
count
- Specified by:
countin interfaceRichIterable<T>
-
countWith
- Specified by:
countWithin interfaceRichIterable<T>
-
anySatisfy
- Specified by:
anySatisfyin interfaceRichIterable<T>
-
anySatisfyWith
- Specified by:
anySatisfyWithin interfaceRichIterable<T>
-
allSatisfy
- Specified by:
allSatisfyin interfaceRichIterable<T>
-
allSatisfyWith
- Specified by:
allSatisfyWithin interfaceRichIterable<T>
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceRichIterable<T>
-
noneSatisfyWith
- Specified by:
noneSatisfyWithin interfaceRichIterable<T>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<T>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<T>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<T>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<T>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<T>
-
into
- Specified by:
intoin interfaceRichIterable<T>
-
toList
- Specified by:
toListin interfaceRichIterable<T>
-
toImmutableList
- Specified by:
toImmutableListin interfaceRichIterable<T>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<T>
-
toImmutableSortedList
- Specified by:
toImmutableSortedListin interfaceRichIterable<T>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<T>
-
toImmutableSortedList
- Specified by:
toImmutableSortedListin interfaceRichIterable<T>
-
toSortedListBy
public <V extends Comparable<? super V>> MutableList<T> toSortedListBy(Function<? super T, ? extends V> function) - Specified by:
toSortedListByin interfaceRichIterable<T>
-
toSet
- Specified by:
toSetin interfaceRichIterable<T>
-
toImmutableSet
- Specified by:
toImmutableSetin interfaceRichIterable<T>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<T>
-
toImmutableSortedSet
- Specified by:
toImmutableSortedSetin interfaceRichIterable<T>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<T>
-
toImmutableSortedSet
- Specified by:
toImmutableSortedSetin interfaceRichIterable<T>
-
toImmutableSortedSetBy
public <V extends Comparable<? super V>> ImmutableSortedSet<T> toImmutableSortedSetBy(Function<? super T, ? extends V> function) - Specified by:
toImmutableSortedSetByin interfaceRichIterable<T>
-
toBag
- Specified by:
toBagin interfaceRichIterable<T>
-
toImmutableBag
- Specified by:
toImmutableBagin interfaceRichIterable<T>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<T>
-
toImmutableSortedBag
- Specified by:
toImmutableSortedBagin interfaceRichIterable<T>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<T>
-
toImmutableSortedBag
- Specified by:
toImmutableSortedBagin interfaceRichIterable<T>
-
toImmutableSortedBagBy
public <V extends Comparable<? super V>> ImmutableSortedBag<T> toImmutableSortedBagBy(Function<? super T, ? extends V> function) - Specified by:
toImmutableSortedBagByin interfaceRichIterable<T>
-
toMap
public <NK,NV> MutableMap<NK,NV> toMap(Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) - Specified by:
toMapin interfaceRichIterable<T>
-
toMap
public <K,V, R toMapR extends Map<K, V>> (Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction, R target) - Specified by:
toMapin interfaceRichIterable<T>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) - Specified by:
toSortedMapin interfaceRichIterable<T>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) - Specified by:
toSortedMapin interfaceRichIterable<T>
-
toSortedMapBy
public <KK extends Comparable<? super KK>,NK, MutableSortedMap<NK,NV> NV> toSortedMapBy(Function<? super NK, KK> sortBy, Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) - Specified by:
toSortedMapByin interfaceRichIterable<T>
-
toBiMap
public <NK,NV> MutableBiMap<NK,NV> toBiMap(Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) - Specified by:
toBiMapin interfaceRichIterable<T>
-
asLazy
- Specified by:
asLazyin interfaceRichIterable<T>
-
toArray
- Specified by:
toArrayin interfaceRichIterable<T>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceRichIterable<T>
-
min
- Specified by:
minin interfaceRichIterable<T>
-
max
- Specified by:
maxin interfaceRichIterable<T>
-
minOptional
- Specified by:
minOptionalin interfaceRichIterable<T>
-
maxOptional
- Specified by:
maxOptionalin interfaceRichIterable<T>
-
min
- Specified by:
minin interfaceRichIterable<T>
-
max
- Specified by:
maxin interfaceRichIterable<T>
-
minOptional
- Specified by:
minOptionalin interfaceRichIterable<T>
-
maxOptional
- Specified by:
maxOptionalin interfaceRichIterable<T>
-
minBy
- Specified by:
minByin interfaceRichIterable<T>
-
maxBy
- Specified by:
maxByin interfaceRichIterable<T>
-
minByOptional
public <V extends Comparable<? super V>> Optional<T> minByOptional(Function<? super T, ? extends V> function) - Specified by:
minByOptionalin interfaceRichIterable<T>
-
maxByOptional
public <V extends Comparable<? super V>> Optional<T> maxByOptional(Function<? super T, ? extends V> function) - Specified by:
maxByOptionalin interfaceRichIterable<T>
-
sumOfInt
- Specified by:
sumOfIntin interfaceRichIterable<T>
-
sumOfFloat
- Specified by:
sumOfFloatin interfaceRichIterable<T>
-
sumOfLong
- Specified by:
sumOfLongin interfaceRichIterable<T>
-
sumOfDouble
- Specified by:
sumOfDoublein interfaceRichIterable<T>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<T>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<T>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<T>
-
makeString
public String makeString(Function<? super T, Object> function, String start, String separator, String end) - Specified by:
makeStringin interfaceRichIterable<T>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<T>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<T>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<T>
-
countBy
- Specified by:
countByin interfaceRichIterable<T>- Since:
- 9.0
-
countBy
public <V,R extends MutableBagIterable<V>> R countBy(Function<? super T, ? extends V> function, R target) - Specified by:
countByin interfaceRichIterable<T>- Since:
- 9.0
-
countByWith
- Specified by:
countByWithin interfaceRichIterable<T>- Since:
- 9.0
-
countByWith
public <V,P, R countByWithR extends MutableBagIterable<V>> (Function2<? super T, ? super P, ? extends V> function, P parameter, R target) - Specified by:
countByWithin interfaceRichIterable<T>- Since:
- 9.0
-
countByEach
- Specified by:
countByEachin interfaceRichIterable<T>- Since:
- 10.0.0
-
countByEach
public <V,R extends MutableBagIterable<V>> R countByEach(Function<? super T, ? extends Iterable<V>> function, R target) - Specified by:
countByEachin interfaceRichIterable<T>- Since:
- 10.0.0
-
groupBy
public <V,R extends MutableMultimap<V, R groupByT>> (Function<? super T, ? extends V> function, R target) - Specified by:
groupByin interfaceRichIterable<T>
-
groupByEach
public <V,R extends MutableMultimap<V, R groupByEachT>> (Function<? super T, ? extends Iterable<V>> function, R target) - Specified by:
groupByEachin interfaceRichIterable<T>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceRichIterable<T>
-
groupByUniqueKey
public <V,R extends MutableMapIterable<V, R groupByUniqueKeyT>> (Function<? super T, ? extends V> function, R target) - Specified by:
groupByUniqueKeyin interfaceRichIterable<T>
-
zip
- Specified by:
zipin interfaceRichIterable<T>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceRichIterable<T>
-
chunk
- Specified by:
chunkin interfaceRichIterable<T>
-
getOnly
- Specified by:
getOnlyin interfaceRichIterable<T>
-
collectByte
- Specified by:
collectBytein interfaceRichIterable<T>
-
collectChar
- Specified by:
collectCharin interfaceRichIterable<T>
-
collectDouble
- Specified by:
collectDoublein interfaceRichIterable<T>
-
collectFloat
- Specified by:
collectFloatin interfaceRichIterable<T>
-
collectInt
- Specified by:
collectIntin interfaceRichIterable<T>
-
collectLong
- Specified by:
collectLongin interfaceRichIterable<T>
-
collectShort
- Specified by:
collectShortin interfaceRichIterable<T>
-
collectWith
public <P,V> RichIterable<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) - Specified by:
collectWithin interfaceRichIterable<T>
-
collectIf
public <V> RichIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function) - Specified by:
collectIfin interfaceRichIterable<T>
-
flatCollect
- Specified by:
flatCollectin interfaceRichIterable<T>
-
sumByInt
public <V> ObjectLongMap<V> sumByInt(Function<? super T, ? extends V> groupBy, IntFunction<? super T> function) - Specified by:
sumByIntin interfaceRichIterable<T>
-
sumByFloat
public <V> ObjectDoubleMap<V> sumByFloat(Function<? super T, ? extends V> groupBy, FloatFunction<? super T> function) - Specified by:
sumByFloatin interfaceRichIterable<T>
-
sumByLong
public <V> ObjectLongMap<V> sumByLong(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) - Specified by:
sumByLongin interfaceRichIterable<T>
-
sumByDouble
public <V> ObjectDoubleMap<V> sumByDouble(Function<? super T, ? extends V> groupBy, DoubleFunction<? super T> function) - Specified by:
sumByDoublein interfaceRichIterable<T>
-
groupBy
- Specified by:
groupByin interfaceRichIterable<T>
-
groupByEach
- Specified by:
groupByEachin interfaceRichIterable<T>
-
zip
- Specified by:
zipin interfaceRichIterable<T>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceRichIterable<T>
-
aggregateInPlaceBy
public <K,V> MapIterable<K,V> aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) - Specified by:
aggregateInPlaceByin interfaceRichIterable<T>
-
aggregateBy
public <K,V> MapIterable<K,V> aggregateBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) - Specified by:
aggregateByin interfaceRichIterable<T>
-
reduceBy
public <K> MapIterable<K,T> reduceBy(Function<? super T, ? extends K> groupBy, Function2<? super T, ? super T, ? extends T> reduceFunction) - Specified by:
reduceByin interfaceRichIterable<T>
-
tap
- Specified by:
tapin interfaceRichIterable<T>
-