Return-Path: Delivered-To: apmail-jakarta-avalon-cvs-archive@apache.org Received: (qmail 99176 invoked from network); 26 Mar 2002 15:51:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Mar 2002 15:51:14 -0000 Received: (qmail 17902 invoked by uid 97); 26 Mar 2002 15:51:15 -0000 Delivered-To: qmlist-jakarta-archive-avalon-cvs@jakarta.apache.org Received: (qmail 17866 invoked by uid 97); 26 Mar 2002 15:51:14 -0000 Mailing-List: contact avalon-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-cvs@jakarta.apache.org Received: (qmail 17840 invoked by uid 97); 26 Mar 2002 15:51:13 -0000 Date: 26 Mar 2002 15:51:11 -0000 Message-ID: <20020326155111.90135.qmail@icarus.apache.org> From: colus@apache.org To: jakarta-avalon-excalibur-cvs@apache.org Subject: cvs commit: jakarta-avalon-excalibur/cache/src/java/org/apache/avalon/excalibur/cache Cache.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: For additional commands, e-mail: