You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/04/14 22:15:42 UTC

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections BidiMap.java

scolebourne    2004/04/14 13:15:42

  Modified:    collections/src/java/org/apache/commons/collections
                        BidiMap.java
  Log:
  Clarify javadoc
  from Simon Kitching
  
  Revision  Changes    Path
  1.15      +6 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/BidiMap.java
  
  Index: BidiMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BidiMap.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- BidiMap.java	18 Feb 2004 01:15:42 -0000	1.14
  +++ BidiMap.java	14 Apr 2004 20:15:42 -0000	1.15
  @@ -26,6 +26,11 @@
    * <p>
    * Implementations should allow a value to be looked up from a key and
    * a key to be looked up from a value with equal performance.
  + * <p>
  + * This map enforces the restriction that there is a 1:1 relation between
  + * keys and values, meaning that multiple keys cannot map to the same value. 
  + * This is required so that "inverting" the map results in a map without 
  + * duplicate keys. See the {@link #put} method description for more information.
    * 
    * @since Commons Collections 3.0
    * @version $Revision$ $Date$
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org