org.annotation.util
Class Cache

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.annotation.util.Cache
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class Cache
extends java.util.HashMap

See Also:
Serialized Form

Constructor Summary
Cache(int s)
           
 
Method Summary
 void clear()
           
 java.lang.Object get(java.lang.Object key)
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.util.HashMap
clone, containsKey, containsValue, entrySet, isEmpty, keySet, 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
 

Constructor Detail

Cache

public Cache(int s)
Method Detail

clear

public void clear()

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)

get

public java.lang.Object get(java.lang.Object key)


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.