net.ontopia.utils
Class MapIndex
java.lang.Object
net.ontopia.utils.MapIndex
- All Implemented Interfaces:
- ClearableIF, LookupIndexIF
public class MapIndex
- extends Object
- implements LookupIndexIF, ClearableIF
INTERNAL: A non-synchronized lookup index adapter for Map instances.
Field Summary |
protected Map |
map
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
protected final Map map
MapIndex
public MapIndex(Map map)
get
public Object get(Object key)
- Specified by:
get
in interface LookupIndexIF
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface LookupIndexIF
remove
public Object remove(Object key)
- Specified by:
remove
in interface LookupIndexIF
clear
public void clear()
- Specified by:
clear
in interface ClearableIF
Copyright © 2000-2012 Ontopia.