Package io.netty.util.collection
Class LongCollections
java.lang.Object
io.netty.util.collection.LongCollections
Utilities for long-based primitive collections.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
An empty map.private static final class
An unmodifiable wrapper around aLongObjectMap
. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> LongObjectMap
<V> emptyMap()
Returns an unmodifiable emptyLongObjectMap
.static <V> LongObjectMap
<V> unmodifiableMap
(LongObjectMap<V> map) Creates an unmodifiable wrapper around the given map.
-
Field Details
-
EMPTY_MAP
-
-
Constructor Details
-
LongCollections
private LongCollections()
-
-
Method Details
-
emptyMap
Returns an unmodifiable emptyLongObjectMap
. -
unmodifiableMap
Creates an unmodifiable wrapper around the given map.
-