V
- the value type stored in the map.public interface CharObjectMap<V> extends Map<Character,V>
char
s as keys.Modifier and Type | Interface and Description |
---|---|
static interface |
CharObjectMap.PrimitiveEntry<V>
A primitive entry in the map, provided by the iterator from
entries() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(char key)
Indicates whether or not this map contains a value for the specified key.
|
Iterable<CharObjectMap.PrimitiveEntry<V>> |
entries()
Gets an iterable to traverse over the primitive entries contained in this map.
|
V |
get(char key)
Gets the value in the map with the specified key.
|
V |
put(char key,
V value)
Puts the given entry into the map.
|
V |
remove(char 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(char key)
key
- the key whose associated value is to be returned.null
if the key was not found in the map.V put(char key, V value)
key
- the key of the entry.value
- the value of the entry.null
if there was no previous mapping.V remove(char key)
key
- the key for the entry to be removed from this map.null
if there was no mapping.Iterable<CharObjectMap.PrimitiveEntry<V>> entries()
CharObjectMap.PrimitiveEntry
s returned by the Iterator
may change as the Iterator
progresses. The caller should not rely on CharObjectMap.PrimitiveEntry
key/value stability.boolean containsKey(char key)
Copyright © 2008–2017 The Netty Project. All rights reserved.