Class DoubleObjectHashMap<V>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.DoubleObjectHashMap<V>
- All Implemented Interfaces:
Externalizable,Serializable,Iterable<V>,InternalIterable<V>,DoubleObjectMap<V>,MutableDoubleObjectMap<V>,MutablePrimitiveObjectMap<V>,PrimitiveObjectMap<V>,RichIterable<V>
public class DoubleObjectHashMap<V>
extends Object
implements MutableDoubleObjectMap<V>, Externalizable
This file was automatically generated from template file primitiveObjectHashMap.stg.
- Since:
- 3.0.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleObjectHashMap(int initialCapacity) DoubleObjectHashMap(DoubleObjectMap<? extends V> map) -
Method Summary
Modifier and TypeMethodDescription<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) collectByte(ByteFunction<? super V> byteFunction) collectChar(CharFunction<? super V> charFunction) collectDouble(DoubleFunction<? super V> doubleFunction) collectFloat(FloatFunction<? super V> floatFunction) <VV> MutableBag<VV><VV,R extends Collection<VV>>
RcollectInt(IntFunction<? super V> intFunction) collectLong(LongFunction<? super V> longFunction) collectShort(ShortFunction<? super V> shortFunction) <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) voidcompact()Deprecated.booleanbooleancontainsAll(Collection<?> source) booleancontainsAllArguments(Object... elements) booleancontainsAllIterable(Iterable<?> source) booleancontainsKey(double key) 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) voidforEachKey(DoubleProcedure procedure) voidforEachKeyValue(DoubleObjectProcedure<? super V> procedure) voidforEachValue(Procedure<? super V> procedure) <P> voidforEachWith(Procedure2<? super V, ? super P> procedure, P parameter) voidforEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) get(double key) getFirst()getIfAbsent(double key, Function0<? extends V> ifAbsent) getIfAbsentPut(double key, Function0<? extends V> function) getIfAbsentPut(double key, V value) <P> VgetIfAbsentPutWith(double key, Function<? super P, ? extends V> function, P parameter) getIfAbsentPutWithKey(double key, DoubleToObjectFunction<? 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()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>>
Vstatic <V> DoubleObjectHashMap<V>newMap()static <V> DoubleObjectHashMap<V>newMap(DoubleObjectMap<? extends V> map) static <V> DoubleObjectHashMap<V>newWithKeysValues(double key, V value) static <V> DoubleObjectHashMap<V>newWithKeysValues(double key1, V value1, double key2, V value2) static <V> DoubleObjectHashMap<V>newWithKeysValues(double key1, V value1, double key2, V value2, double key3, V value3) static <V> DoubleObjectHashMap<V>newWithKeysValues(double key1, V value1, double key2, V value2, double key3, V value3, double key4, V value4) booleannoneSatisfy(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(DoubleObjectMap<? extends V> map) void<R extends Collection<V>>
Rreject(DoubleObjectPredicate<? 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(double key) booleanremoveIf(DoubleObjectPredicate<? super V> predicate) removeKey(double key) <R extends Collection<V>>
Rselect(DoubleObjectPredicate<? 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) toList()<NK,NV> MutableMap<NK, NV> toSet()toSortedBag(Comparator<? super V> comparator) <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) toSortedSet(Comparator<? super V> comparator) toString()boolean<P> VupdateValueWith(double key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) values()withKeysValues(double key1, V value1, double key2, V value2) withKeysValues(double key1, V value1, double key2, V value2, double key3, V value3) withKeysValues(double key1, V value1, double key2, V value2, double key3, V value3, double key4, V value4) withKeyValue(double key, V value) withoutAllKeys(DoubleIterable keys) withoutKey(double key) void<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.map.primitive.DoubleObjectMap
injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.InternalIterable
forEachMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableDoubleObjectMap
putPair, withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.MutablePrimitiveObjectMap
aggregateBy, flatCollectWith, reduceByMethods inherited from interface org.eclipse.collections.api.map.primitive.PrimitiveObjectMap
parallelStream, spliterator, streamMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countBy, countByEach, countByEach, countByWith, countByWith, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceBy, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toMap, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMapBy, toSortedSetBy
-
Constructor Details
-
DoubleObjectHashMap
public DoubleObjectHashMap() -
DoubleObjectHashMap
public DoubleObjectHashMap(int initialCapacity) -
DoubleObjectHashMap
-
-
Method Details
-
newMap
-
newMap
-
newWithKeysValues
-
newWithKeysValues
public static <V> DoubleObjectHashMap<V> newWithKeysValues(double key1, V value1, double key2, V value2) -
newWithKeysValues
public static <V> DoubleObjectHashMap<V> newWithKeysValues(double key1, V value1, double key2, V value2, double key3, V value3) -
newWithKeysValues
public static <V> DoubleObjectHashMap<V> newWithKeysValues(double key1, V value1, double key2, V value2, double key3, V value3, double key4, V value4) -
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
-
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>
-
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>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceRichIterable<V>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceRichIterable<V>
-
contains
- Specified by:
containsin interfaceRichIterable<V>
-
containsAllIterable
- Specified by:
containsAllIterablein interfaceRichIterable<V>
-
containsAll
- Specified by:
containsAllin interfaceRichIterable<V>
-
containsAllArguments
- Specified by:
containsAllArgumentsin interfaceRichIterable<V>
-
tap
- Specified by:
tapin interfaceDoubleObjectMap<V>- Specified by:
tapin interfaceMutableDoubleObjectMap<V>- Specified by:
tapin interfaceRichIterable<V>
-
each
- Specified by:
eachin interfaceRichIterable<V>
-
forEachWithIndex
- Specified by:
forEachWithIndexin interfaceInternalIterable<V>
-
forEachWith
- Specified by:
forEachWithin interfaceInternalIterable<V>
-
forEachValue
- Specified by:
forEachValuein interfacePrimitiveObjectMap<V>
-
forEachKey
- Specified by:
forEachKeyin interfaceDoubleObjectMap<V>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceDoubleObjectMap<V>
-
select
- Specified by:
selectin interfaceDoubleObjectMap<V>- Specified by:
selectin interfaceMutableDoubleObjectMap<V>
-
reject
- Specified by:
rejectin interfaceDoubleObjectMap<V>- Specified by:
rejectin interfaceMutableDoubleObjectMap<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>
-
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>
-
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>
-
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>
-
collectByte
- Specified by:
collectBytein interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectBytein interfacePrimitiveObjectMap<V>- Specified by:
collectBytein interfaceRichIterable<V>
-
collectChar
- Specified by:
collectCharin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectCharin interfacePrimitiveObjectMap<V>- Specified by:
collectCharin interfaceRichIterable<V>
-
collectDouble
- Specified by:
collectDoublein interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectDoublein interfacePrimitiveObjectMap<V>- Specified by:
collectDoublein interfaceRichIterable<V>
-
collectFloat
- Specified by:
collectFloatin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectFloatin interfacePrimitiveObjectMap<V>- Specified by:
collectFloatin interfaceRichIterable<V>
-
collectInt
- Specified by:
collectIntin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectIntin interfacePrimitiveObjectMap<V>- Specified by:
collectIntin interfaceRichIterable<V>
-
collectLong
- Specified by:
collectLongin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectLongin interfacePrimitiveObjectMap<V>- Specified by:
collectLongin interfaceRichIterable<V>
-
collectShort
- Specified by:
collectShortin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectShortin interfacePrimitiveObjectMap<V>- 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>
-
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>
-
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>
-
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>
-
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>
-
getFirst
- Specified by:
getFirstin interfaceRichIterable<V>
-
getLast
- Specified by:
getLastin interfaceRichIterable<V>
-
getOnly
- Specified by:
getOnlyin interfaceRichIterable<V>
-
toList
- Specified by:
toListin interfaceRichIterable<V>
-
into
- Specified by:
intoin interfaceRichIterable<V>
-
toSet
- Specified by:
toSetin interfaceRichIterable<V>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<V>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<V>
-
toBag
- Specified by:
toBagin interfaceRichIterable<V>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<V>
-
toSortedBag
- Specified by:
toSortedBagin 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>
-
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>
-
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>
-
asLazy
- Specified by:
asLazyin 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>
-
clear
public void clear()- Specified by:
clearin interfaceMutablePrimitiveObjectMap<V>
-
put
- Specified by:
putin interfaceMutableDoubleObjectMap<V>
-
putAll
- Specified by:
putAllin interfaceMutableDoubleObjectMap<V>
-
containsKey
public boolean containsKey(double key) - Specified by:
containsKeyin interfaceDoubleObjectMap<V>
-
containsValue
- Specified by:
containsValuein interfacePrimitiveObjectMap<V>
-
get
- Specified by:
getin interfaceDoubleObjectMap<V>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceDoubleObjectMap<V>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableDoubleObjectMap<V>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableDoubleObjectMap<V>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableDoubleObjectMap<V>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableDoubleObjectMap<V>
-
updateValue
public V updateValue(double key, Function0<? extends V> factory, Function<? super V, ? extends V> function) - Specified by:
updateValuein interfaceMutableDoubleObjectMap<V>
-
updateValueWith
public <P> V updateValueWith(double key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) - Specified by:
updateValueWithin interfaceMutableDoubleObjectMap<V>
-
removeKey
- Specified by:
removeKeyin interfaceMutableDoubleObjectMap<V>
-
remove
- Specified by:
removein interfaceMutableDoubleObjectMap<V>
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableDoubleObjectMap<V>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableDoubleObjectMap<V>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableDoubleObjectMap<V>
-
withKeysValues
-
withKeysValues
public DoubleObjectHashMap<V> withKeysValues(double key1, V value1, double key2, V value2, double key3, V value3) -
withKeysValues
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableDoubleObjectMap<V>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableDoubleObjectMap<V>
-
toImmutable
- Specified by:
toImmutablein interfaceDoubleObjectMap<V>
-
removeIf
- Specified by:
removeIfin interfaceMutableDoubleObjectMap<V>
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
keySet
- Specified by:
keySetin interfaceDoubleObjectMap<V>
-
trimToSize
public boolean trimToSize()- Since:
- 12.0
-
compact
Deprecated.since 12.0 - UsetrimToSize()insteadRehashes every element in the set into a new backing table of the smallest possible size and eliminating removed sentinels. -
values
- Specified by:
valuesin interfacePrimitiveObjectMap<V>
-
keysView
- Specified by:
keysViewin interfaceDoubleObjectMap<V>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceDoubleObjectMap<V>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceDoubleObjectMap<V>- Specified by:
flipUniqueValuesin interfaceMutableDoubleObjectMap<V>
-
trimToSize()instead