Uses of Interface
org.eclipse.collections.api.map.primitive.ImmutableLongShortMap
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.
This package contains implementations of the immutable primitive-primitive, primitive-object and object-primitive map interfaces.
This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
-
Uses of ImmutableLongShortMap in org.eclipse.collections.api.factory.map.primitive
Modifier and TypeMethodDescriptionImmutableLongShortMapFactory.empty()
ImmutableLongShortMapFactory.from
(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableLongShortMapFactory.of()
Same asImmutableLongShortMapFactory.empty()
.ImmutableLongShortMapFactory.of
(long key, short value) ImmutableLongShortMapFactory.ofAll
(LongShortMap map) ImmutableLongShortMapFactory.with()
Same asImmutableLongShortMapFactory.empty()
.ImmutableLongShortMapFactory.with
(long key, short value) ImmutableLongShortMapFactory.withAll
(LongShortMap map) -
Uses of ImmutableLongShortMap in org.eclipse.collections.api.map.primitive
Modifier and TypeMethodDescriptionImmutableShortLongMap.flipUniqueValues()
ImmutableLongShortMap.newWithKeyValue
(long key, short 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.ImmutableLongShortMap.newWithoutAllKeys
(LongIterable keys) Copy this map, remove any associated values with the specified keys (if any exist), and return the copy as a new immutable map.ImmutableLongShortMap.newWithoutKey
(long key) Copy this map, remove any associated value with the key (if one exists), and return the copy as a new immutable map.ImmutableLongShortMap.reject
(LongShortPredicate predicate) ImmutableLongShortMap.select
(LongShortPredicate predicate) LongShortMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable. -
Uses of ImmutableLongShortMap in org.eclipse.collections.impl.map.immutable.primitive
Modifier and TypeMethodDescriptionImmutableLongShortMapFactoryImpl.empty()
ImmutableLongShortMapFactoryImpl.from
(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) ImmutableLongShortMapFactoryImpl.of()
ImmutableLongShortMapFactoryImpl.of
(long key, short value) ImmutableLongShortMapFactoryImpl.ofAll
(LongShortMap map) ImmutableLongShortMapFactoryImpl.with()
ImmutableLongShortMapFactoryImpl.with
(long key, short value) ImmutableLongShortMapFactoryImpl.withAll
(LongShortMap map) -
Uses of ImmutableLongShortMap in org.eclipse.collections.impl.map.mutable.primitive
Modifier and TypeMethodDescriptionLongShortHashMap.toImmutable()
SynchronizedLongShortMap.toImmutable()
UnmodifiableLongShortMap.toImmutable()