You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by co...@apache.org on 2002/03/26 16:51:11 UTC
cvs commit: jakarta-avalon-excalibur/cache/src/java/org/apache/avalon/excalibur/cache Cache.java
colus 02/03/26 07:51:10
Modified: cache/src/java/org/apache/avalon/excalibur/cache Cache.java
Log:
Fixed some javadocs.
Revision Changes Path
1.9 +7 -5 jakarta-avalon-excalibur/cache/src/java/org/apache/avalon/excalibur/cache/Cache.java
Index: Cache.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/cache/src/java/org/apache/avalon/excalibur/cache/Cache.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Cache.java 27 Jan 2002 02:55:35 -0000 1.8
+++ Cache.java 26 Mar 2002 15:51:10 -0000 1.9
@@ -42,7 +42,7 @@
/**
* Return size of cache.
*
- * @return the number of key-value mappings in this cache.
+ * @return the number of key-value mappings in this cache
*/
int size();
@@ -51,7 +51,7 @@
*
* @param key key for the item
* @param value item
- * @return old value. null if old value not exists.
+ * @return old value. null if old value not exists
*/
Object put( Object key, Object value );
@@ -59,7 +59,7 @@
* Get an item from the cache.
*
* @param key key to lookup the item
- * @return the matching object in the cache. null if item not exists.
+ * @return the matching object in the cache. null if item not exists
*/
Object get( Object key );
@@ -67,12 +67,14 @@
* Removes an item from the cache.
*
* @param key key to remove
- * @return the value removed. null if old value not exists.
+ * @return the value removed. null if old value not exists
*/
Object remove( Object key );
/**
- * @param key
+ * Returns true if this cache contains a specified key.
+ *
+ * @param key key whose presence in this map is to be tested
* @return true if matching item in the cache
*/
boolean containsKey( Object key );
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>