public abstract class AbstractMutableMap<K,V> extends AbstractMutableMapIterable<K,V> implements com.gs.collections.api.map.MutableMap<K,V>
| Constructor and Description |
|---|
AbstractMutableMap() |
| Modifier and Type | Method and Description |
|---|---|
com.gs.collections.api.map.MutableMap<K,V> |
asSynchronized() |
com.gs.collections.api.map.MutableMap<K,V> |
asUnmodifiable() |
abstract com.gs.collections.api.map.MutableMap<K,V> |
clone() |
<R> com.gs.collections.api.bag.MutableBag<R> |
collect(com.gs.collections.api.block.function.Function<? super V,? extends R> function) |
com.gs.collections.api.bag.primitive.MutableBooleanBag |
collectBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super V> booleanFunction) |
com.gs.collections.api.bag.primitive.MutableByteBag |
collectByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super V> byteFunction) |
com.gs.collections.api.bag.primitive.MutableCharBag |
collectChar(com.gs.collections.api.block.function.primitive.CharFunction<? super V> charFunction) |
com.gs.collections.api.bag.primitive.MutableDoubleBag |
collectDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super V> doubleFunction) |
com.gs.collections.api.bag.primitive.MutableFloatBag |
collectFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super V> floatFunction) |
<R> com.gs.collections.api.bag.MutableBag<R> |
collectIf(com.gs.collections.api.block.predicate.Predicate<? super V> predicate,
com.gs.collections.api.block.function.Function<? super V,? extends R> function) |
com.gs.collections.api.bag.primitive.MutableIntBag |
collectInt(com.gs.collections.api.block.function.primitive.IntFunction<? super V> intFunction) |
com.gs.collections.api.bag.primitive.MutableLongBag |
collectLong(com.gs.collections.api.block.function.primitive.LongFunction<? super V> longFunction) |
com.gs.collections.api.bag.primitive.MutableShortBag |
collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction) |
<R> com.gs.collections.api.map.MutableMap<K,R> |
collectValues(com.gs.collections.api.block.function.Function2<? super K,? super V,? extends R> function) |
<P,VV> com.gs.collections.api.bag.MutableBag<VV> |
collectWith(com.gs.collections.api.block.function.Function2<? super V,? super P,? extends VV> function,
P parameter) |
<R> com.gs.collections.api.bag.MutableBag<R> |
flatCollect(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<R>> function) |
com.gs.collections.api.multimap.set.MutableSetMultimap<V,K> |
flip() |
<VV> com.gs.collections.api.multimap.bag.MutableBagMultimap<VV,V> |
groupBy(com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
<VV> com.gs.collections.api.multimap.bag.MutableBagMultimap<VV,V> |
groupByEach(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function) |
abstract <K,V> com.gs.collections.api.map.MutableMap<K,V> |
newEmpty(int capacity)
Creates a new instance of the same type, using the given capacity and the default growth parameters.
|
com.gs.collections.api.partition.bag.PartitionMutableBag<V> |
partition(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> com.gs.collections.api.partition.bag.PartitionMutableBag<V> |
partitionWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
com.gs.collections.api.bag.MutableBag<V> |
reject(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
com.gs.collections.api.map.MutableMap<K,V> |
reject(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<P> com.gs.collections.api.bag.MutableBag<V> |
rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
com.gs.collections.api.bag.MutableBag<V> |
select(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
com.gs.collections.api.map.MutableMap<K,V> |
select(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<S> com.gs.collections.api.bag.MutableBag<S> |
selectInstancesOf(Class<S> clazz) |
<P> com.gs.collections.api.bag.MutableBag<V> |
selectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
com.gs.collections.api.map.MutableMap<K,V> |
tap(com.gs.collections.api.block.procedure.Procedure<? super V> procedure) |
com.gs.collections.api.map.ImmutableMap<K,V> |
toImmutable() |
com.gs.collections.api.map.MutableMap<K,V> |
withAllKeyValueArguments(com.gs.collections.api.tuple.Pair<? extends K,? extends V>... keyValues) |
com.gs.collections.api.map.MutableMap<K,V> |
withAllKeyValues(Iterable<? extends com.gs.collections.api.tuple.Pair<? extends K,? extends V>> keyValues) |
com.gs.collections.api.map.MutableMap<K,V> |
withKeyValue(K key,
V value) |
com.gs.collections.api.map.MutableMap<K,V> |
withoutAllKeys(Iterable<? extends K> keys) |
com.gs.collections.api.map.MutableMap<K,V> |
withoutKey(K key) |
<S> com.gs.collections.api.bag.MutableBag<com.gs.collections.api.tuple.Pair<V,S>> |
zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
com.gs.collections.api.set.MutableSet<com.gs.collections.api.tuple.Pair<V,Integer>> |
zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
add, aggregateBy, aggregateInPlaceBy, collect, detect, flipUniqueValues, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, groupByUniqueKey, iterator, keysView, keyValuesView, updateValue, updateValueWith, valuesViewallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, asLazy, chunk, contains, detect, detectIfNone, detectWith, detectWithIfNone, each, forEachKey, forEachValue, forEachWith, forEachWithIndex, getFirst, getIfAbsent, getIfAbsentValue, getIfAbsentWith, getLast, ifPresentApply, noneSatisfy, noneSatisfyWith, toArray, toArrayappendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, containsAll, containsAllArguments, containsAllIterable, count, countWith, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, notEmpty, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregateBy, aggregateInPlaceBy, collect, collectKeysAndValues, flipUniqueValues, groupByUniqueKey, newEmptyadd, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, removeKey, updateValue, updateValueWithclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuescontainsKey, containsValue, detect, equals, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getIfAbsentValue, getIfAbsentWith, hashCode, ifPresentApply, keysView, keyValuesView, toString, valuesViewallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, each, flatCollect, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexforEach, forEachWith, forEachWithIndexforEach, iterator, spliteratorpublic abstract <K,V> com.gs.collections.api.map.MutableMap<K,V> newEmpty(int capacity)
public com.gs.collections.api.multimap.set.MutableSetMultimap<V,K> flip()
flip in interface com.gs.collections.api.map.MapIterable<K,V>flip in interface com.gs.collections.api.map.MutableMap<K,V>flip in interface com.gs.collections.api.map.MutableMapIterable<K,V>flip in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>public <R> com.gs.collections.api.map.MutableMap<K,R> collectValues(com.gs.collections.api.block.function.Function2<? super K,? super V,? extends R> function)
collectValues in interface com.gs.collections.api.map.MapIterable<K,V>collectValues in interface com.gs.collections.api.map.MutableMap<K,V>collectValues in interface com.gs.collections.api.map.MutableMapIterable<K,V>collectValues in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>public com.gs.collections.api.map.MutableMap<K,V> select(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
select in interface com.gs.collections.api.map.MapIterable<K,V>select in interface com.gs.collections.api.map.MutableMap<K,V>select in interface com.gs.collections.api.map.MutableMapIterable<K,V>select in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>public com.gs.collections.api.map.MutableMap<K,V> reject(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
reject in interface com.gs.collections.api.map.MapIterable<K,V>reject in interface com.gs.collections.api.map.MutableMap<K,V>reject in interface com.gs.collections.api.map.MutableMapIterable<K,V>reject in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>public <R> com.gs.collections.api.bag.MutableBag<R> collect(com.gs.collections.api.block.function.Function<? super V,? extends R> function)
public com.gs.collections.api.bag.primitive.MutableBooleanBag collectBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super V> booleanFunction)
public com.gs.collections.api.bag.primitive.MutableByteBag collectByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super V> byteFunction)
public com.gs.collections.api.bag.primitive.MutableCharBag collectChar(com.gs.collections.api.block.function.primitive.CharFunction<? super V> charFunction)
public com.gs.collections.api.bag.primitive.MutableDoubleBag collectDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super V> doubleFunction)
public com.gs.collections.api.bag.primitive.MutableFloatBag collectFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super V> floatFunction)
public com.gs.collections.api.bag.primitive.MutableIntBag collectInt(com.gs.collections.api.block.function.primitive.IntFunction<? super V> intFunction)
public com.gs.collections.api.bag.primitive.MutableLongBag collectLong(com.gs.collections.api.block.function.primitive.LongFunction<? super V> longFunction)
public com.gs.collections.api.bag.primitive.MutableShortBag collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction)
public <P,VV> com.gs.collections.api.bag.MutableBag<VV> collectWith(com.gs.collections.api.block.function.Function2<? super V,? super P,? extends VV> function, P parameter)
public <R> com.gs.collections.api.bag.MutableBag<R> collectIf(com.gs.collections.api.block.predicate.Predicate<? super V> predicate, com.gs.collections.api.block.function.Function<? super V,? extends R> function)
public <R> com.gs.collections.api.bag.MutableBag<R> flatCollect(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<R>> function)
public com.gs.collections.api.bag.MutableBag<V> select(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
select in interface com.gs.collections.api.map.MutableMap<K,V>select in interface com.gs.collections.api.map.MutableMapIterable<K,V>select in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>select in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.map.MutableMap<K,V> tap(com.gs.collections.api.block.procedure.Procedure<? super V> procedure)
tap in interface com.gs.collections.api.map.MapIterable<K,V>tap in interface com.gs.collections.api.map.MutableMap<K,V>tap in interface com.gs.collections.api.map.MutableMapIterable<K,V>tap in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>tap in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.bag.MutableBag<V> selectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
selectWith in interface com.gs.collections.api.map.MutableMap<K,V>selectWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>selectWith in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>selectWith in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.MutableBag<V> reject(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
reject in interface com.gs.collections.api.map.MutableMap<K,V>reject in interface com.gs.collections.api.map.MutableMapIterable<K,V>reject in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>reject in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.bag.MutableBag<V> rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
rejectWith in interface com.gs.collections.api.map.MutableMap<K,V>rejectWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>rejectWith in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>rejectWith in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.partition.bag.PartitionMutableBag<V> partition(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
partition in interface com.gs.collections.api.map.MutableMap<K,V>partition in interface com.gs.collections.api.map.MutableMapIterable<K,V>partition in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>partition in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.partition.bag.PartitionMutableBag<V> partitionWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
public <S> com.gs.collections.api.bag.MutableBag<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface com.gs.collections.api.map.MutableMap<K,V>selectInstancesOf in interface com.gs.collections.api.map.MutableMapIterable<K,V>selectInstancesOf in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>selectInstancesOf in interface com.gs.collections.api.RichIterable<V>@Deprecated public <S> com.gs.collections.api.bag.MutableBag<com.gs.collections.api.tuple.Pair<V,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface com.gs.collections.api.map.MutableMap<K,V>zip in interface com.gs.collections.api.map.MutableMapIterable<K,V>zip in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>zip in interface com.gs.collections.api.RichIterable<V>@Deprecated public com.gs.collections.api.set.MutableSet<com.gs.collections.api.tuple.Pair<V,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface com.gs.collections.api.map.MutableMap<K,V>zipWithIndex in interface com.gs.collections.api.map.MutableMapIterable<K,V>zipWithIndex in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>zipWithIndex in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.map.MutableMap<K,V> withAllKeyValues(Iterable<? extends com.gs.collections.api.tuple.Pair<? extends K,? extends V>> keyValues)
public com.gs.collections.api.map.MutableMap<K,V> withAllKeyValueArguments(com.gs.collections.api.tuple.Pair<? extends K,? extends V>... keyValues)
public com.gs.collections.api.map.MutableMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
public <VV> com.gs.collections.api.multimap.bag.MutableBagMultimap<VV,V> groupBy(com.gs.collections.api.block.function.Function<? super V,? extends VV> function)
groupBy in interface com.gs.collections.api.map.MutableMap<K,V>groupBy in interface com.gs.collections.api.map.MutableMapIterable<K,V>groupBy in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>groupBy in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.multimap.bag.MutableBagMultimap<VV,V> groupByEach(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function)
groupByEach in interface com.gs.collections.api.map.MutableMap<K,V>groupByEach in interface com.gs.collections.api.map.MutableMapIterable<K,V>groupByEach in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>groupByEach in interface com.gs.collections.api.RichIterable<V>Copyright © 2004–2016. All rights reserved.