From 6d367b97f70e44bbb0cbd158a893197fbe52dfb7 Mon Sep 17 00:00:00 2001 From: Morgan James Delagrange Date: Thu, 21 Mar 2002 17:11:01 +0000 Subject: [PATCH] javadocs git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130671 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/collections/BeanMap.java | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/commons/collections/BeanMap.java b/src/java/org/apache/commons/collections/BeanMap.java index 7a84a3455..48f61e04a 100644 --- a/src/java/org/apache/commons/collections/BeanMap.java +++ b/src/java/org/apache/commons/collections/BeanMap.java @@ -1,7 +1,7 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/BeanMap.java,v 1.7 2002/03/13 05:24:58 mas Exp $ - * $Revision: 1.7 $ - * $Date: 2002/03/13 05:24:58 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/BeanMap.java,v 1.8 2002/03/21 17:11:01 morgand Exp $ + * $Revision: 1.8 $ + * $Date: 2002/03/21 17:11:01 $ * * ==================================================================== * @@ -339,10 +339,22 @@ public class BeanMap extends AbstractMap implements Cloneable { } + /** + * Get the keys for this BeanMap. + * + * @return BeanMap keys. Modifications to this Set (i.e. removes) + * will be reflected in the BeanMap. + */ public Set keySet() { return readMethods.keySet(); } + /** + * Get the mappings for this BeanMap + * + * @return BeanMap mappings. The Set returned by this method + * is not modifiable. + */ public Set entrySet() { return Collections.unmodifiableSet(new AbstractSet() { public Iterator iterator() { @@ -373,6 +385,12 @@ public class BeanMap extends AbstractMap implements Cloneable { }); } + /** + * Returns the values for the BeanMap. + * + * @return values for the BeanMap. Modifications to this collection + * do not alter the underlying BeanMap. + */ public Collection values() { ArrayList answer = new ArrayList( readMethods.size() ); for ( Iterator iter = valueIterator(); iter.hasNext(); ) {