Class SynchronizedIntObjectMap<V>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.SynchronizedIntObjectMap<V>
- All Implemented Interfaces:
Serializable,Iterable<V>,InternalIterable<V>,IntObjectMap<V>,MutableIntObjectMap<V>,MutablePrimitiveObjectMap<V>,PrimitiveObjectMap<V>,RichIterable<V>
public class SynchronizedIntObjectMap<V>
extends Object
implements MutableIntObjectMap<V>, Serializable
A synchronized view of a
MutableIntObjectMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
standard JDK iterator or JDK 5 for loop, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveObjectMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<K,VV> MutableMap<K, VV> aggregateBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,VV> MutableMap<K, VV> aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) booleanallSatisfy(Predicate<? super V> predicate) <P> booleanallSatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) booleananySatisfy(Predicate<? super V> predicate) <P> booleananySatisfyWith(Predicate2<? super V, ? 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) voidclear()<VV> MutableBag<VV><VV,R extends Collection<VV>>
RcollectBoolean(BooleanFunction<? super V> booleanFunction) <R extends MutableBooleanCollection>
RcollectBoolean(BooleanFunction<? super V> booleanFunction, R target) collectByte(ByteFunction<? super V> byteFunction) <R extends MutableByteCollection>
RcollectByte(ByteFunction<? super V> byteFunction, R target) collectChar(CharFunction<? super V> charFunction) <R extends MutableCharCollection>
RcollectChar(CharFunction<? super V> charFunction, R target) collectDouble(DoubleFunction<? super V> doubleFunction) <R extends MutableDoubleCollection>
RcollectDouble(DoubleFunction<? super V> doubleFunction, R target) collectFloat(FloatFunction<? super V> floatFunction) <R extends MutableFloatCollection>
RcollectFloat(FloatFunction<? super V> floatFunction, R target) <VV> MutableBag<VV><VV,R extends Collection<VV>>
RcollectInt(IntFunction<? super V> intFunction) <R extends MutableIntCollection>
RcollectInt(IntFunction<? super V> intFunction, R target) collectLong(LongFunction<? super V> longFunction) <R extends MutableLongCollection>
RcollectLong(LongFunction<? super V> longFunction, R target) collectShort(ShortFunction<? super V> shortFunction) <R extends MutableShortCollection>
RcollectShort(ShortFunction<? super V> shortFunction, R target) <P,VV> MutableBag<VV> collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) <P,VV, R extends Collection<VV>>
RcollectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter, R targetCollection) booleanbooleancontainsAll(Collection<?> source) booleancontainsAllArguments(Object... elements) booleancontainsAllIterable(Iterable<?> source) booleancontainsAny(Collection<?> source) booleancontainsAnyIterable(Iterable<?> source) booleancontainsKey(int key) booleancontainsNone(Collection<?> source) booleancontainsNoneIterable(Iterable<?> source) booleancontainsValue(Object value) int<P> intcountWith(Predicate2<? super V, ? super P> predicate, P parameter) detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function) detectOptional(Predicate<? super V> predicate) <P> VdetectWith(Predicate2<? super V, ? super P> predicate, P parameter) <P> VdetectWithIfNone(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) detectWithOptional(Predicate2<? super V, ? super P> predicate, P parameter) voidboolean<VV> MutableBag<VV>flatCollect(Function<? super V, ? extends Iterable<VV>> function) <VV,R extends Collection<VV>>
RflatCollect(Function<? super V, ? extends Iterable<VV>> function, R target) <R extends MutableBooleanCollection>
RflatCollectBoolean(Function<? super V, ? extends BooleanIterable> function, R target) <R extends MutableByteCollection>
RflatCollectByte(Function<? super V, ? extends ByteIterable> function, R target) <R extends MutableCharCollection>
RflatCollectChar(Function<? super V, ? extends CharIterable> function, R target) <R extends MutableDoubleCollection>
RflatCollectDouble(Function<? super V, ? extends DoubleIterable> function, R target) <R extends MutableFloatCollection>
RflatCollectFloat(Function<? super V, ? extends FloatIterable> function, R target) <R extends MutableIntCollection>
RflatCollectInt(Function<? super V, ? extends IntIterable> function, R target) <R extends MutableLongCollection>
RflatCollectLong(Function<? super V, ? extends LongIterable> function, R target) <R extends MutableShortCollection>
RflatCollectShort(Function<? super V, ? extends ShortIterable> function, R target) voidvoidforEachKey(IntProcedure procedure) voidforEachKeyValue(IntObjectProcedure<? super V> procedure) voidforEachValue(Procedure<? super V> procedure) <P> voidforEachWith(Procedure2<? super V, ? super P> procedure, P parameter) voidforEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) get(int key) getFirst()getIfAbsent(int key, Function0<? extends V> ifAbsent) getIfAbsentPut(int key, Function0<? extends V> function) getIfAbsentPut(int key, V value) <P> VgetIfAbsentPutWith(int key, Function<? super P, ? extends V> function, P parameter) getIfAbsentPutWithKey(int key, IntToObjectFunction<? extends V> function) getLast()getOnly()<VV> MutableBagMultimap<VV,V> <VV,R extends MutableMultimap<VV, V>>
R<VV> MutableBagMultimap<VV,V> groupByEach(Function<? super V, ? extends Iterable<VV>> function) <VV,R extends MutableMultimap<VV, V>>
RgroupByEach(Function<? super V, ? extends Iterable<VV>> function, R target) <VV> MutableMap<VV,V> groupByUniqueKey(Function<? super V, ? extends VV> function) <VV,R extends MutableMapIterable<VV, V>>
RgroupByUniqueKey(Function<? super V, ? extends VV> function, R target) inthashCode()doubleinjectInto(double injectedValue, DoubleObjectToDoubleFunction<? super V> function) floatinjectInto(float injectedValue, FloatObjectToFloatFunction<? super V> function) intinjectInto(int injectedValue, IntObjectToIntFunction<? super V> function) longinjectInto(long injectedValue, LongObjectToLongFunction<? super V> function) <IV> IVinjectInto(IV injectedValue, Function2<? super IV, ? super V, ? extends IV> function) <R extends Collection<V>>
Rinto(R target) booleanisEmpty()iterator()Must be called in a synchronized block.keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) max()max(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
Vmin()min(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
VbooleannoneSatisfy(Predicate<? super V> predicate) <P> booleannoneSatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) booleannotEmpty()<P> PartitionMutableBag<V>partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) voidputAll(IntObjectMap<? extends V> map) putPair(IntObjectPair<V> keyValuePair) <K> MutableMap<K,V> reduceBy(Function<? super V, ? extends K> groupBy, Function2<? super V, ? super V, ? extends V> reduceFunction) <R extends Collection<V>>
Rreject(IntObjectPredicate<? super V> predicate) <P> MutableBag<V>rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) <P,R extends Collection<V>>
RrejectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) remove(int key) booleanremoveIf(IntObjectPredicate<? super V> predicate) removeKey(int key) <R extends Collection<V>>
Rselect(IntObjectPredicate<? super V> predicate) <S> MutableBag<S>selectInstancesOf(Class<S> clazz) <P> MutableBag<V>selectWith(Predicate2<? super V, ? super P> predicate, P parameter) <P,R extends Collection<V>>
RselectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) intsize()<V1> MutableObjectDoubleMap<V1>sumByDouble(Function<? super V, ? extends V1> groupBy, DoubleFunction<? super V> function) <V1> MutableObjectDoubleMap<V1>sumByFloat(Function<? super V, ? extends V1> groupBy, FloatFunction<? super V> function) <V1> MutableObjectLongMap<V1>sumByInt(Function<? super V, ? extends V1> groupBy, IntFunction<? super V> function) <V1> MutableObjectLongMap<V1>sumByLong(Function<? super V, ? extends V1> groupBy, LongFunction<? super V> function) doublesumOfDouble(DoubleFunction<? super V> function) doublesumOfFloat(FloatFunction<? super V> function) longsumOfInt(IntFunction<? super V> function) longsumOfLong(LongFunction<? super V> function) Object[]toArray()<T> T[]toArray(T[] a) toBag()<NK,NV> MutableBiMap<NK, NV> toBiMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) toImmutableSortedBag(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
ImmutableSortedBag<V>toImmutableSortedBagBy(Function<? super V, ? extends VV> function) toImmutableSortedList(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
ImmutableList<V>toImmutableSortedListBy(Function<? super V, ? extends VV> function) toImmutableSortedSet(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
ImmutableSortedSet<V>toImmutableSortedSetBy(Function<? super V, ? extends VV> function) toList()<NK,NV> MutableMap<NK, NV> <NK,NV, R extends Map<NK, NV>>
RtoMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction, R target) toSet()toSortedBag(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
MutableSortedBag<V>toSortedBagBy(Function<? super V, ? extends VV> function) toSortedList(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
MutableList<V>toSortedListBy(Function<? super V, ? extends VV> function) <NK,NV> MutableSortedMap<NK, NV> toSortedMap(Comparator<? super NK> comparator, Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) <NK,NV> MutableSortedMap<NK, NV> toSortedMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) <KK extends Comparable<? super KK>,NK, NV>
MutableSortedMap<NK,NV> toSortedMapBy(Function<? super NK, KK> sortBy, Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) toSortedSet(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
MutableSortedSet<V>toSortedSetBy(Function<? super V, ? extends VV> function) toString()<P> VupdateValueWith(int key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) values()withKeyValue(int key, V value) withoutAllKeys(IntIterable keys) withoutKey(int key) <S> MutableBag<Pair<V,S>> Deprecated.in 7.0.<S,R extends Collection<Pair<V, S>>>
RDeprecated.in 7.0.<R extends Collection<Pair<V,Integer>>>
RzipWithIndex(R target) Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEachMethods inherited from interface org.eclipse.collections.api.map.primitive.IntObjectMap
injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableIntObjectMap
withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.MutablePrimitiveObjectMap
flatCollectWithMethods inherited from interface org.eclipse.collections.api.map.primitive.PrimitiveObjectMap
parallelStream, spliterator, streamMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, containsBy, countBy, countBy, countByEach, countByEach, countByWith, countByWith, flatCollectWith, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceBy, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBiMap, toImmutableMap
-
Constructor Details
-
SynchronizedIntObjectMap
-
SynchronizedIntObjectMap
-
-
Method Details
-
put
- Specified by:
putin interfaceMutableIntObjectMap<V>
-
putPair
- Specified by:
putPairin interfaceMutableIntObjectMap<V>
-
putAll
- Specified by:
putAllin interfaceMutableIntObjectMap<V>
-
removeKey
- Specified by:
removeKeyin interfaceMutableIntObjectMap<V>
-
remove
- Specified by:
removein interfaceMutableIntObjectMap<V>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableIntObjectMap<V>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableIntObjectMap<V>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableIntObjectMap<V>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableIntObjectMap<V>
-
updateValue
public V updateValue(int key, Function0<? extends V> factory, Function<? super V, ? extends V> function) - Specified by:
updateValuein interfaceMutableIntObjectMap<V>
-
updateValueWith
public <P> V updateValueWith(int key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) - Specified by:
updateValueWithin interfaceMutableIntObjectMap<V>
-
removeIf
- Specified by:
removeIfin interfaceMutableIntObjectMap<V>
-
get
- Specified by:
getin interfaceIntObjectMap<V>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceIntObjectMap<V>
-
containsKey
public boolean containsKey(int key) - Specified by:
containsKeyin interfaceIntObjectMap<V>
-
containsValue
- Specified by:
containsValuein interfacePrimitiveObjectMap<V>
-
tap
- Specified by:
tapin interfaceIntObjectMap<V>- Specified by:
tapin interfaceMutableIntObjectMap<V>- Specified by:
tapin interfaceRichIterable<V>
-
forEachValue
- Specified by:
forEachValuein interfacePrimitiveObjectMap<V>
-
forEachKey
- Specified by:
forEachKeyin interfaceIntObjectMap<V>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceIntObjectMap<V>
-
select
- Specified by:
selectin interfaceIntObjectMap<V>- Specified by:
selectin interfaceMutableIntObjectMap<V>
-
reject
- Specified by:
rejectin interfaceIntObjectMap<V>- Specified by:
rejectin interfaceMutableIntObjectMap<V>
-
size
public int size()- Specified by:
sizein interfaceRichIterable<V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceRichIterable<V>
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfaceRichIterable<V>
-
getFirst
- Specified by:
getFirstin interfaceRichIterable<V>
-
getLast
- Specified by:
getLastin interfaceRichIterable<V>
-
getOnly
- Specified by:
getOnlyin interfaceRichIterable<V>
-
contains
- Specified by:
containsin interfaceRichIterable<V>
-
containsAllIterable
- Specified by:
containsAllIterablein interfaceRichIterable<V>
-
containsAll
- Specified by:
containsAllin interfaceRichIterable<V>
-
containsNoneIterable
- Specified by:
containsNoneIterablein interfaceRichIterable<V>
-
containsNone
- Specified by:
containsNonein interfaceRichIterable<V>
-
containsAnyIterable
- Specified by:
containsAnyIterablein interfaceRichIterable<V>
-
containsAny
- Specified by:
containsAnyin interfaceRichIterable<V>
-
containsAllArguments
- Specified by:
containsAllArgumentsin interfaceRichIterable<V>
-
select
- Specified by:
selectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
selectin interfacePrimitiveObjectMap<V>- Specified by:
selectin interfaceRichIterable<V>
-
select
- Specified by:
selectin interfaceRichIterable<V>
-
selectWith
- Specified by:
selectWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
selectWithin interfacePrimitiveObjectMap<V>- Specified by:
selectWithin interfaceRichIterable<V>
-
selectWith
public <P,R extends Collection<V>> R selectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) - Specified by:
selectWithin interfaceRichIterable<V>
-
partition
- Specified by:
partitionin interfaceMutablePrimitiveObjectMap<V>- Specified by:
partitionin interfacePrimitiveObjectMap<V>- Specified by:
partitionin interfaceRichIterable<V>
-
partitionWith
public <P> PartitionMutableBag<V> partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) - Specified by:
partitionWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
partitionWithin interfacePrimitiveObjectMap<V>- Specified by:
partitionWithin interfaceRichIterable<V>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceMutablePrimitiveObjectMap<V>- Specified by:
selectInstancesOfin interfacePrimitiveObjectMap<V>- Specified by:
selectInstancesOfin interfaceRichIterable<V>
-
zipWithIndex
Deprecated.in 7.0. UseOrderedIterable.zipWithIndex()instead.- Specified by:
zipWithIndexin interfaceMutablePrimitiveObjectMap<V>- Specified by:
zipWithIndexin interfacePrimitiveObjectMap<V>- Specified by:
zipWithIndexin interfaceRichIterable<V>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceRichIterable<V>
-
chunk
- Specified by:
chunkin interfaceRichIterable<V>
-
aggregateInPlaceBy
public <K,VV> MutableMap<K,VV> aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) - Specified by:
aggregateInPlaceByin interfaceMutablePrimitiveObjectMap<V>- Specified by:
aggregateInPlaceByin interfaceRichIterable<V>
-
aggregateBy
public <K,VV> MutableMap<K,VV> aggregateBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) - Specified by:
aggregateByin interfaceMutablePrimitiveObjectMap<V>- Specified by:
aggregateByin interfaceRichIterable<V>
-
reduceBy
public <K> MutableMap<K,V> reduceBy(Function<? super V, ? extends K> groupBy, Function2<? super V, ? super V, ? extends V> reduceFunction) - Specified by:
reduceByin interfaceMutablePrimitiveObjectMap<V>- Specified by:
reduceByin interfaceRichIterable<V>
-
reject
- Specified by:
rejectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
rejectin interfacePrimitiveObjectMap<V>- Specified by:
rejectin interfaceRichIterable<V>
-
reject
- Specified by:
rejectin interfaceRichIterable<V>
-
rejectWith
- Specified by:
rejectWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
rejectWithin interfacePrimitiveObjectMap<V>- Specified by:
rejectWithin interfaceRichIterable<V>
-
rejectWith
public <P,R extends Collection<V>> R rejectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) - Specified by:
rejectWithin interfaceRichIterable<V>
-
clear
public void clear()- Specified by:
clearin interfaceMutablePrimitiveObjectMap<V>
-
collect
- Specified by:
collectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectin interfacePrimitiveObjectMap<V>- Specified by:
collectin interfaceRichIterable<V>
-
collectBoolean
- Specified by:
collectBooleanin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectBooleanin interfacePrimitiveObjectMap<V>- Specified by:
collectBooleanin interfaceRichIterable<V>
-
collectBoolean
public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super V> booleanFunction, R target) - Specified by:
collectBooleanin interfaceRichIterable<V>
-
collectByte
- Specified by:
collectBytein interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectBytein interfacePrimitiveObjectMap<V>- Specified by:
collectBytein interfaceRichIterable<V>
-
collectByte
public <R extends MutableByteCollection> R collectByte(ByteFunction<? super V> byteFunction, R target) - Specified by:
collectBytein interfaceRichIterable<V>
-
collectChar
- Specified by:
collectCharin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectCharin interfacePrimitiveObjectMap<V>- Specified by:
collectCharin interfaceRichIterable<V>
-
collectChar
public <R extends MutableCharCollection> R collectChar(CharFunction<? super V> charFunction, R target) - Specified by:
collectCharin interfaceRichIterable<V>
-
collectDouble
- Specified by:
collectDoublein interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectDoublein interfacePrimitiveObjectMap<V>- Specified by:
collectDoublein interfaceRichIterable<V>
-
collectDouble
public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super V> doubleFunction, R target) - Specified by:
collectDoublein interfaceRichIterable<V>
-
collectFloat
- Specified by:
collectFloatin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectFloatin interfacePrimitiveObjectMap<V>- Specified by:
collectFloatin interfaceRichIterable<V>
-
collectFloat
public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super V> floatFunction, R target) - Specified by:
collectFloatin interfaceRichIterable<V>
-
collectInt
- Specified by:
collectIntin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectIntin interfacePrimitiveObjectMap<V>- Specified by:
collectIntin interfaceRichIterable<V>
-
collectInt
- Specified by:
collectIntin interfaceRichIterable<V>
-
collectLong
- Specified by:
collectLongin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectLongin interfacePrimitiveObjectMap<V>- Specified by:
collectLongin interfaceRichIterable<V>
-
collectLong
public <R extends MutableLongCollection> R collectLong(LongFunction<? super V> longFunction, R target) - Specified by:
collectLongin interfaceRichIterable<V>
-
collectShort
- Specified by:
collectShortin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectShortin interfacePrimitiveObjectMap<V>- Specified by:
collectShortin interfaceRichIterable<V>
-
collectShort
public <R extends MutableShortCollection> R collectShort(ShortFunction<? super V> shortFunction, R target) - Specified by:
collectShortin interfaceRichIterable<V>
-
collectWith
public <P,VV> MutableBag<VV> collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) - Specified by:
collectWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectWithin interfacePrimitiveObjectMap<V>- Specified by:
collectWithin interfaceRichIterable<V>
-
collectWith
public <P,VV, R collectWithR extends Collection<VV>> (Function2<? super V, ? super P, ? extends VV> function, P parameter, R targetCollection) - Specified by:
collectWithin interfaceRichIterable<V>
-
collect
public <VV,R extends Collection<VV>> R collect(Function<? super V, ? extends VV> function, R target) - Specified by:
collectin interfaceRichIterable<V>
-
collectIf
public <VV> MutableBag<VV> collectIf(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) - Specified by:
collectIfin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectIfin interfacePrimitiveObjectMap<V>- Specified by:
collectIfin interfaceRichIterable<V>
-
collectIf
public <VV,R extends Collection<VV>> R collectIf(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) - Specified by:
collectIfin interfaceRichIterable<V>
-
flatCollect
- Specified by:
flatCollectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
flatCollectin interfacePrimitiveObjectMap<V>- Specified by:
flatCollectin interfaceRichIterable<V>
-
flatCollect
public <VV,R extends Collection<VV>> R flatCollect(Function<? super V, ? extends Iterable<VV>> function, R target) - Specified by:
flatCollectin interfaceRichIterable<V>
-
flatCollectByte
public <R extends MutableByteCollection> R flatCollectByte(Function<? super V, ? extends ByteIterable> function, R target) - Specified by:
flatCollectBytein interfaceRichIterable<V>
-
flatCollectChar
public <R extends MutableCharCollection> R flatCollectChar(Function<? super V, ? extends CharIterable> function, R target) - Specified by:
flatCollectCharin interfaceRichIterable<V>
-
flatCollectInt
public <R extends MutableIntCollection> R flatCollectInt(Function<? super V, ? extends IntIterable> function, R target) - Specified by:
flatCollectIntin interfaceRichIterable<V>
-
flatCollectShort
public <R extends MutableShortCollection> R flatCollectShort(Function<? super V, ? extends ShortIterable> function, R target) - Specified by:
flatCollectShortin interfaceRichIterable<V>
-
flatCollectDouble
public <R extends MutableDoubleCollection> R flatCollectDouble(Function<? super V, ? extends DoubleIterable> function, R target) - Specified by:
flatCollectDoublein interfaceRichIterable<V>
-
flatCollectFloat
public <R extends MutableFloatCollection> R flatCollectFloat(Function<? super V, ? extends FloatIterable> function, R target) - Specified by:
flatCollectFloatin interfaceRichIterable<V>
-
flatCollectLong
public <R extends MutableLongCollection> R flatCollectLong(Function<? super V, ? extends LongIterable> function, R target) - Specified by:
flatCollectLongin interfaceRichIterable<V>
-
flatCollectBoolean
public <R extends MutableBooleanCollection> R flatCollectBoolean(Function<? super V, ? extends BooleanIterable> function, R target) - Specified by:
flatCollectBooleanin interfaceRichIterable<V>
-
detect
- Specified by:
detectin interfaceRichIterable<V>
-
detectWith
- Specified by:
detectWithin interfaceRichIterable<V>
-
detectOptional
- Specified by:
detectOptionalin interfaceRichIterable<V>
-
detectWithOptional
- Specified by:
detectWithOptionalin interfaceRichIterable<V>
-
detectIfNone
- Specified by:
detectIfNonein interfaceRichIterable<V>
-
detectWithIfNone
public <P> V detectWithIfNone(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) - Specified by:
detectWithIfNonein interfaceRichIterable<V>
-
count
- Specified by:
countin interfaceRichIterable<V>
-
countWith
- Specified by:
countWithin interfaceRichIterable<V>
-
anySatisfy
- Specified by:
anySatisfyin interfaceRichIterable<V>
-
anySatisfyWith
- Specified by:
anySatisfyWithin interfaceRichIterable<V>
-
allSatisfy
- Specified by:
allSatisfyin interfaceRichIterable<V>
-
allSatisfyWith
- Specified by:
allSatisfyWithin interfaceRichIterable<V>
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceRichIterable<V>
-
noneSatisfyWith
- Specified by:
noneSatisfyWithin interfaceRichIterable<V>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<V>
-
into
- Specified by:
intoin interfaceRichIterable<V>
-
toList
- Specified by:
toListin interfaceRichIterable<V>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<V>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<V>
-
toSortedListBy
public <VV extends Comparable<? super VV>> MutableList<V> toSortedListBy(Function<? super V, ? extends VV> function) - Specified by:
toSortedListByin interfaceRichIterable<V>
-
toSet
- Specified by:
toSetin interfaceRichIterable<V>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<V>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<V>
-
toSortedSetBy
public <VV extends Comparable<? super VV>> MutableSortedSet<V> toSortedSetBy(Function<? super V, ? extends VV> function) - Specified by:
toSortedSetByin interfaceRichIterable<V>
-
toBag
- Specified by:
toBagin interfaceRichIterable<V>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<V>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<V>
-
toSortedBagBy
public <VV extends Comparable<? super VV>> MutableSortedBag<V> toSortedBagBy(Function<? super V, ? extends VV> function) - Specified by:
toSortedBagByin interfaceRichIterable<V>
-
toMap
public <NK,NV> MutableMap<NK,NV> toMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toMapin interfaceRichIterable<V>
-
toMap
public <NK,NV, R toMapR extends Map<NK, NV>> (Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction, R target) - Specified by:
toMapin interfaceRichIterable<V>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toSortedMapin interfaceRichIterable<V>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toSortedMapin interfaceRichIterable<V>
-
toSortedMapBy
public <KK extends Comparable<? super KK>,NK, MutableSortedMap<NK,NV> NV> toSortedMapBy(Function<? super NK, KK> sortBy, Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toSortedMapByin interfaceRichIterable<V>
-
toBiMap
public <NK,NV> MutableBiMap<NK,NV> toBiMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toBiMapin interfaceRichIterable<V>
-
toImmutableList
- Specified by:
toImmutableListin interfaceRichIterable<V>
-
toImmutableSet
- Specified by:
toImmutableSetin interfaceRichIterable<V>
-
toImmutableBag
- Specified by:
toImmutableBagin interfaceRichIterable<V>
-
toImmutableSortedList
- Specified by:
toImmutableSortedListin interfaceRichIterable<V>
-
toImmutableSortedList
- Specified by:
toImmutableSortedListin interfaceRichIterable<V>
-
toImmutableSortedListBy
public <VV extends Comparable<? super VV>> ImmutableList<V> toImmutableSortedListBy(Function<? super V, ? extends VV> function) - Specified by:
toImmutableSortedListByin interfaceRichIterable<V>
-
toImmutableSortedSet
- Specified by:
toImmutableSortedSetin interfaceRichIterable<V>
-
toImmutableSortedSet
- Specified by:
toImmutableSortedSetin interfaceRichIterable<V>
-
toImmutableSortedSetBy
public <VV extends Comparable<? super VV>> ImmutableSortedSet<V> toImmutableSortedSetBy(Function<? super V, ? extends VV> function) - Specified by:
toImmutableSortedSetByin interfaceRichIterable<V>
-
toImmutableSortedBag
- Specified by:
toImmutableSortedBagin interfaceRichIterable<V>
-
toImmutableSortedBag
- Specified by:
toImmutableSortedBagin interfaceRichIterable<V>
-
toImmutableSortedBagBy
public <VV extends Comparable<? super VV>> ImmutableSortedBag<V> toImmutableSortedBagBy(Function<? super V, ? extends VV> function) - Specified by:
toImmutableSortedBagByin interfaceRichIterable<V>
-
asLazy
- Specified by:
asLazyin interfaceRichIterable<V>
-
toArray
- Specified by:
toArrayin interfaceRichIterable<V>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceRichIterable<V>
-
min
- Specified by:
minin interfaceRichIterable<V>
-
max
- Specified by:
maxin interfaceRichIterable<V>
-
min
- Specified by:
minin interfaceRichIterable<V>
-
max
- Specified by:
maxin interfaceRichIterable<V>
-
maxBy
- Specified by:
maxByin interfaceRichIterable<V>
-
minBy
- Specified by:
minByin interfaceRichIterable<V>
-
sumOfInt
- Specified by:
sumOfIntin interfaceRichIterable<V>
-
sumOfFloat
- Specified by:
sumOfFloatin interfaceRichIterable<V>
-
sumOfLong
- Specified by:
sumOfLongin interfaceRichIterable<V>
-
sumOfDouble
- Specified by:
sumOfDoublein interfaceRichIterable<V>
-
sumByInt
public <V1> MutableObjectLongMap<V1> sumByInt(Function<? super V, ? extends V1> groupBy, IntFunction<? super V> function) - Specified by:
sumByIntin interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByIntin interfaceRichIterable<V>
-
sumByFloat
public <V1> MutableObjectDoubleMap<V1> sumByFloat(Function<? super V, ? extends V1> groupBy, FloatFunction<? super V> function) - Specified by:
sumByFloatin interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByFloatin interfaceRichIterable<V>
-
sumByLong
public <V1> MutableObjectLongMap<V1> sumByLong(Function<? super V, ? extends V1> groupBy, LongFunction<? super V> function) - Specified by:
sumByLongin interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByLongin interfaceRichIterable<V>
-
sumByDouble
public <V1> MutableObjectDoubleMap<V1> sumByDouble(Function<? super V, ? extends V1> groupBy, DoubleFunction<? super V> function) - Specified by:
sumByDoublein interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByDoublein interfaceRichIterable<V>
-
keySet
- Specified by:
keySetin interfaceIntObjectMap<V>
-
values
- Specified by:
valuesin interfacePrimitiveObjectMap<V>
-
keysView
- Specified by:
keysViewin interfaceIntObjectMap<V>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceIntObjectMap<V>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceIntObjectMap<V>- Specified by:
flipUniqueValuesin interfaceMutableIntObjectMap<V>
-
equals
- Specified by:
equalsin interfacePrimitiveObjectMap<V>- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacePrimitiveObjectMap<V>- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfacePrimitiveObjectMap<V>- Specified by:
toStringin interfaceRichIterable<V>- Overrides:
toStringin classObject
-
makeString
- Specified by:
makeStringin interfaceRichIterable<V>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<V>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<V>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<V>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<V>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<V>
-
groupBy
- Specified by:
groupByin interfaceMutablePrimitiveObjectMap<V>- Specified by:
groupByin interfacePrimitiveObjectMap<V>- Specified by:
groupByin interfaceRichIterable<V>
-
groupBy
public <VV,R extends MutableMultimap<VV, R groupByV>> (Function<? super V, ? extends VV> function, R target) - Specified by:
groupByin interfaceRichIterable<V>
-
groupByEach
public <VV> MutableBagMultimap<VV,V> groupByEach(Function<? super V, ? extends Iterable<VV>> function) - Specified by:
groupByEachin interfaceMutablePrimitiveObjectMap<V>- Specified by:
groupByEachin interfacePrimitiveObjectMap<V>- Specified by:
groupByEachin interfaceRichIterable<V>
-
groupByEach
public <VV,R extends MutableMultimap<VV, R groupByEachV>> (Function<? super V, ? extends Iterable<VV>> function, R target) - Specified by:
groupByEachin interfaceRichIterable<V>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceMutablePrimitiveObjectMap<V>- Specified by:
groupByUniqueKeyin interfacePrimitiveObjectMap<V>- Specified by:
groupByUniqueKeyin interfaceRichIterable<V>
-
groupByUniqueKey
public <VV,R extends MutableMapIterable<VV, R groupByUniqueKeyV>> (Function<? super V, ? extends VV> function, R target) - Specified by:
groupByUniqueKeyin interfaceRichIterable<V>
-
zip
Deprecated.in 7.0. UseOrderedIterable.zip(Iterable)instead.- Specified by:
zipin interfaceMutablePrimitiveObjectMap<V>- Specified by:
zipin interfacePrimitiveObjectMap<V>- Specified by:
zipin interfaceRichIterable<V>
-
zip
- Specified by:
zipin interfaceRichIterable<V>
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableIntObjectMap<V>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableIntObjectMap<V>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableIntObjectMap<V>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableIntObjectMap<V>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableIntObjectMap<V>
-
toImmutable
- Specified by:
toImmutablein interfaceIntObjectMap<V>
-
forEach
- Specified by:
forEachin interfaceInternalIterable<V>- Specified by:
forEachin interfaceRichIterable<V>
-
each
- Specified by:
eachin interfaceRichIterable<V>
-
forEachWithIndex
- Specified by:
forEachWithIndexin interfaceInternalIterable<V>
-
forEachWith
- Specified by:
forEachWithin interfaceInternalIterable<V>
-
iterator
Must be called in a synchronized block.
-