Uses of Interface
org.eclipse.collections.api.map.primitive.ImmutableIntIntMap
Packages that use ImmutableIntIntMap
Package
Description
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
-
Uses of ImmutableIntIntMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return ImmutableIntIntMapModifier and TypeMethodDescriptionImmutableIntIntMapFactory.empty()ImmutableIntIntMapFactory.from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntIntMapFactory.of()Same asImmutableIntIntMapFactory.empty().ImmutableIntIntMapFactory.of(int key, int value) ImmutableIntIntMapFactory.with()Same asImmutableIntIntMapFactory.empty().ImmutableIntIntMapFactory.with(int key, int value) -
Uses of ImmutableIntIntMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return ImmutableIntIntMapModifier and TypeMethodDescriptionImmutableIntIntMap.flipUniqueValues()ImmutableIntIntMap.newWithKeyValue(int key, int value) Copy this map, associate the value with the key (replacing the value if one already exists forkey), and return the copy as new immutable map.ImmutableIntIntMap.newWithoutAllKeys(IntIterable keys) Copy this map, remove any associated values with the specified keys (if any exist), and return the copy as a new immutable map.ImmutableIntIntMap.newWithoutKey(int key) Copy this map, remove any associated value with the key (if one exists), and return the copy as a new immutable map.ImmutableIntIntMap.reject(IntIntPredicate predicate) ImmutableIntIntMap.select(IntIntPredicate predicate) IntIntMap.toImmutable()Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable.