net.ontopia.utils
Class SynchronizedLookupIndex

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

public class SynchronizedLookupIndex
extends java.lang.Object
implements LookupIndexIF

INTERNAL: Synchronized wrapper class for LookupIndexIF instances.


Field Summary
protected  LookupIndexIF index
           
 
Constructor Summary
SynchronizedLookupIndex(LookupIndexIF index)
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
           
 LookupIndexIF getIndex()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.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 java.lang.Object get(java.lang.Object key)
Specified by:
get in interface LookupIndexIF

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Specified by:
put in interface LookupIndexIF

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface LookupIndexIF

getIndex

public LookupIndexIF getIndex()


Copyright © 2000-2012 Ontopia.