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