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