cz.cuni.jagrlib.piece
Class VEFDS.MapAttr
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<VEFDS.AttrKey,VEFDS.Attribute>
cz.cuni.jagrlib.piece.VEFDS.MapAttr
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<VEFDS.AttrKey,VEFDS.Attribute>
- Enclosing class:
- VEFDS
protected static class VEFDS.MapAttr
- extends java.util.HashMap<VEFDS.AttrKey,VEFDS.Attribute>
Support class - attribute map.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Field Summary |
protected static VEFDS.AttrKey |
key
Global attribute key (used for fast lookup). |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
key
protected static final VEFDS.AttrKey key
- Global attribute key (used for fast lookup).
VEFDS.MapAttr
protected VEFDS.MapAttr()
get
public final VEFDS.Attribute get(int where,
int ctx,
java.lang.String ident)
- Fast attribute lookup (doesn't need to create new
VEFDS.AttrKey
instance).
getExt
public final VEFDS.Attribute getExt(int where,
int ctx,
java.lang.String ident)
- Fast attribute lookup, tries shared attribute as well.
put
public final void put(VEFDS.Attribute a)
- Convenient put method.