V - 存储在地图中的值类型。
public interface ShortObjectMap<V>
extends java.util.Map<java.lang.Short,V>
short作为键的原始映射的接口。
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ShortObjectMap.PrimitiveEntry<V>
地图中的一个原始条目,由
entries()的迭代器提供
|
V get(short key)
key - 要返回关联值的键。
null 。
V put(short key, V value)
key - 入门的关键。
value - 条目的值。
null 。
V remove(short key)
key - 从此地图中删除条目的关键。
null 。
java.lang.Iterable<ShortObjectMap.PrimitiveEntry<V>> entries()
Iterator可能随着Iterator进展而改变。
调用者不应该依赖ShortObjectMap.PrimitiveEntry键/值的稳定性。
boolean containsKey(short key)
Copyright © 2008–2018 The Netty Project. All rights reserved.