V
- the value type stored in the map.public interface ByteObjectMap<V> extends Map<Byte,V>
byte
s as keys.Modifier and Type | Interface and Description |
---|---|
static interface |
ByteObjectMap.PrimitiveEntry<V>
A primitive entry in the map, provided by the iterator from
entries() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(byte key)
Indicates whether or not this map contains a value for the specified key.
|
Iterable<ByteObjectMap.PrimitiveEntry<V>> |
entries()
Gets an iterable to traverse over the primitive entries contained in this map.
|
V |
get(byte key)
Gets the value in the map with the specified key.
|
V |
put(byte key,
V value)
Puts the given entry into the map.
|
V |
remove(byte key)
Removes the entry with the specified key.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
V get(byte key)
key
- the key whose associated value is to be returned.null
if the key was not found in the map.V put(byte key, V value)
key
- the key of the entry.value
- the value of the entry.null
if there was no previous mapping.V remove(byte key)
key
- the key for the entry to be removed from this map.null
if there was no mapping.Iterable<ByteObjectMap.PrimitiveEntry<V>> entries()
ByteObjectMap.PrimitiveEntry
s returned by the Iterator
may change as the Iterator
progresses. The caller should not rely on ByteObjectMap.PrimitiveEntry
key/value stability.boolean containsKey(byte key)
Copyright © 2008–2024 The Netty Project. All rights reserved.