net.ontopia.utils
Class SynchronizedLookupIndex

java.lang.Object
  extended by net.ontopia.utils.SynchronizedLookupIndex
All Implemented Interfaces:
LookupIndexIF

public class SynchronizedLookupIndex
extends Object
implements LookupIndexIF

INTERNAL: Synchronized wrapper class for LookupIndexIF instances.


Field Summary
protected  LookupIndexIF index
           
 
Constructor Summary
SynchronizedLookupIndex(LookupIndexIF index)
           
 
Method Summary
 Object get(Object key)
           
 LookupIndexIF getIndex()
           
 Object put(Object key, Object value)
           
 Object remove(Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected LookupIndexIF index
Constructor Detail

SynchronizedLookupIndex

public SynchronizedLookupIndex(LookupIndexIF index)
Method Detail

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

getIndex

public LookupIndexIF getIndex()


Copyright © 2000-2012 Ontopia.