morgand 02/03/21 09:11:01
Modified: collections/src/java/org/apache/commons/collections
BeanMap.java
Log:
javadocs
Revision Changes Path
1.8 +21 -3
jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java
Index: BeanMap.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- BeanMap.java 13 Mar 2002 05:24:58 -0000 1.7
+++ BeanMap.java 21 Mar 2002 17:11:01 -0000 1.8
@@ -1,7 +1,7 @@
/*
- * $Header:
/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/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 @@
}
+ /**
+ * Get the keys for this BeanMap.
+ *
+ * @return BeanMap keys. Modifications to this Set (i.e. removes)
+ * <i>will</i> 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 @@
});
}
+ /**
+ * 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(); ) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>