Protege 3.3.1

edu.stanford.smi.protege.util
Class CacheMap<X,Y>

java.lang.Object
  extended by edu.stanford.smi.protege.util.CacheMap<X,Y>

public class CacheMap<X,Y>
extends Object

Author:
Ray Fergerson Description of this class

Constructor Summary
CacheMap()
           
CacheMap(int maxSize)
           
 
Method Summary
 void clear()
           
 Y get(X key)
           
 Collection<X> getKeys()
           
 void put(X key, Y value)
           
 void remove(X key)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheMap

public CacheMap(int maxSize)

CacheMap

public CacheMap()
Method Detail

get

public Y get(X key)

put

public void put(X key,
                Y value)

remove

public void remove(X key)

clear

public void clear()

getKeys

public Collection<X> getKeys()

toString

public String toString()
Overrides:
toString in class Object

Protege 3.3.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.