public class DefaultAttributeMap extends java.lang.Object implements AttributeMap
AttributeMap implementation which use simple synchronization per bucket to keep the memory overhead
as low as possible.| 构造器和说明 |
|---|
DefaultAttributeMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Attribute<T> |
attr(AttributeKey<T> key)
Get the
Attribute for the given AttributeKey. |
public <T> Attribute<T> attr(AttributeKey<T> key)
AttributeMapAttribute for the given AttributeKey. This method will never return null, but may return
an Attribute which does not have a value set yet.attr 在接口中 AttributeMap