@Immutable public class ImmutableUnifiedMapWithHashingStrategy<K,V> extends AbstractImmutableMap<K,V> implements BatchIterable<V>, Serializable
| Constructor and Description |
|---|
ImmutableUnifiedMapWithHashingStrategy(org.eclipse.collections.api.block.HashingStrategy<? super K> hashingStrategy,
org.eclipse.collections.api.tuple.Pair<K,V>... pairs) |
ImmutableUnifiedMapWithHashingStrategy(UnifiedMapWithHashingStrategy<K,V> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
batchForEach(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure,
int sectionIndex,
int sectionCount) |
<R> org.eclipse.collections.api.map.ImmutableMap<K,R> |
collectValues(org.eclipse.collections.api.block.function.Function2<? super K,? super V,? extends R> function) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.Procedure<? super K> procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2<? super K,? super V> procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure) |
<P> void |
forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super P> procedure,
P parameter) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure) |
V |
get(Object key) |
int |
getBatchCount(int batchSize) |
int |
hashCode() |
Set<K> |
keySet() |
org.eclipse.collections.api.RichIterable<K> |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.Pair<K,V>> |
keyValuesView() |
org.eclipse.collections.api.map.ImmutableMap<K,V> |
newWithAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs) |
org.eclipse.collections.api.map.ImmutableMap<K,V> |
newWithAllKeyValues(Iterable<? extends org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>> keyValues) |
org.eclipse.collections.api.map.ImmutableMap<K,V> |
newWithKeyValue(K key,
V value) |
org.eclipse.collections.api.map.ImmutableMap<K,V> |
newWithoutAllKeys(Iterable<? extends K> keys) |
org.eclipse.collections.api.map.ImmutableMap<K,V> |
newWithoutKey(K key) |
org.eclipse.collections.api.map.ImmutableMap<K,V> |
reject(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
org.eclipse.collections.api.map.ImmutableMap<K,V> |
select(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
int |
size() |
String |
toString()
Returns a string representation of this collection.
|
Collection<V> |
values() |
org.eclipse.collections.api.RichIterable<V> |
valuesView() |
aggregateBy, aggregateInPlaceBy, castToMap, clear, collect, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, detect, flatCollect, flip, flipUniqueValues, groupBy, groupByEach, groupByUniqueKey, iterator, partition, partitionWith, put, putAll, reject, rejectWith, remove, select, selectInstancesOf, selectWith, tap, toImmutable, toMap, zip, zipWithIndexallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, asLazy, chunk, contains, detect, detectIfNone, detectWith, detectWithIfNone, each, 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, zip, zipWithIndexforEachgetIfAbsent, getIfAbsentValue, getIfAbsentWith, ifPresentApplyallSatisfy, 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, 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, spliteratorcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ImmutableUnifiedMapWithHashingStrategy(UnifiedMapWithHashingStrategy<K,V> delegate)
public boolean equals(Object o)
public int hashCode()
public String toString()
AbstractRichIterable
This implementation creates an empty string buffer, appends a left square bracket, and iterates over the collection appending the string representation of each element in turn. After appending each element except the last, the string ", " is appended. Finally a right bracket is appended. A string is obtained from the string buffer, and returned.
public int size()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public int getBatchCount(int batchSize)
getBatchCount in interface BatchIterable<V>public void batchForEach(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure, int sectionIndex, int sectionCount)
batchForEach in interface BatchIterable<V>public void forEachValue(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure)
forEachValue in interface org.eclipse.collections.api.map.MapIterable<K,V>forEachValue in class AbstractMapIterable<K,V>public void forEachKey(org.eclipse.collections.api.block.procedure.Procedure<? super K> procedure)
forEachKey in interface org.eclipse.collections.api.map.MapIterable<K,V>forEachKey in class AbstractMapIterable<K,V>public void forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2<? super K,? super V> procedure)
public org.eclipse.collections.api.RichIterable<K> keysView()
public org.eclipse.collections.api.RichIterable<V> valuesView()
public org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.Pair<K,V>> keyValuesView()
public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface org.eclipse.collections.api.InternalIterable<V>forEachWithIndex in class AbstractMapIterable<K,V>public <P> void forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super P> procedure, P parameter)
forEachWith in interface org.eclipse.collections.api.InternalIterable<V>forEachWith in class AbstractMapIterable<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> newWithKeyValue(K key, V value)
newWithKeyValue in interface org.eclipse.collections.api.map.ImmutableMap<K,V>newWithKeyValue in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>newWithKeyValue in class AbstractImmutableMap<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> newWithAllKeyValues(Iterable<? extends org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>> keyValues)
newWithAllKeyValues in interface org.eclipse.collections.api.map.ImmutableMap<K,V>newWithAllKeyValues in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>newWithAllKeyValues in class AbstractImmutableMap<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> newWithAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs)
newWithAllKeyValueArguments in interface org.eclipse.collections.api.map.ImmutableMap<K,V>newWithAllKeyValueArguments in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>newWithAllKeyValueArguments in class AbstractImmutableMap<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> newWithoutKey(K key)
newWithoutKey in interface org.eclipse.collections.api.map.ImmutableMap<K,V>newWithoutKey in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>newWithoutKey in class AbstractImmutableMap<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> newWithoutAllKeys(Iterable<? extends K> keys)
newWithoutAllKeys in interface org.eclipse.collections.api.map.ImmutableMap<K,V>newWithoutAllKeys in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>newWithoutAllKeys in class AbstractImmutableMap<K,V>public <R> org.eclipse.collections.api.map.ImmutableMap<K,R> collectValues(org.eclipse.collections.api.block.function.Function2<? super K,? super V,? extends R> function)
collectValues in interface org.eclipse.collections.api.map.ImmutableMap<K,V>collectValues in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>collectValues in interface org.eclipse.collections.api.map.MapIterable<K,V>collectValues in interface org.eclipse.collections.api.map.UnsortedMapIterable<K,V>collectValues in class AbstractImmutableMap<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> select(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
select in interface org.eclipse.collections.api.map.ImmutableMap<K,V>select in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>select in interface org.eclipse.collections.api.map.MapIterable<K,V>select in interface org.eclipse.collections.api.map.UnsortedMapIterable<K,V>select in class AbstractImmutableMap<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> reject(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
reject in interface org.eclipse.collections.api.map.ImmutableMap<K,V>reject in interface org.eclipse.collections.api.map.ImmutableMapIterable<K,V>reject in interface org.eclipse.collections.api.map.MapIterable<K,V>reject in interface org.eclipse.collections.api.map.UnsortedMapIterable<K,V>reject in class AbstractImmutableMap<K,V>Copyright © 2004–2017. All rights reserved.