commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pj...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections ReferenceMap.java
Date Tue, 13 Aug 2002 01:04:20 GMT
pjack       2002/08/12 18:04:20

  Modified:    collections/src/java/org/apache/commons/collections
                        ReferenceMap.java
  Log:
  Fixed some JavaDoc errors.
  
  Revision  Changes    Path
  1.5       +10 -9     jakarta-commons/collections/src/java/org/apache/commons/collections/ReferenceMap.java
  
  Index: ReferenceMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/ReferenceMap.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ReferenceMap.java	13 Aug 2002 00:46:25 -0000	1.4
  +++ ReferenceMap.java	13 Aug 2002 01:04:19 -0000	1.5
  @@ -99,7 +99,8 @@
    *  Different types of references can be specified for keys
    *  and values.  The keys can be configured to be weak but
    *  the values hard, in which case this class will behave
  - *  like a {@link java.util.WeakHashMap}.  However, you
  + *  like a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/WeakHashMap.html">
  + *  <Code>WeakHashMap</Code></A>.  However, you
    *  can also specify hard keys and weak values, or any other
    *  combination.  The default constructor uses hard keys
    *  and soft values, providing a memory-sensitive cache.<P>
  @@ -247,9 +248,9 @@
        *  use the specified types of references.
        *
        *  @param keyType  the type of reference to use for keys;
  -     *   must be {@link #HARD}, {@link #SOFT}, {@link WEAK}
  +     *   must be {@link #HARD}, {@link #SOFT}, {@link #WEAK}
        *  @param valueType  the type of reference to use for values;
  -     *   must be {@link #HARD}, {@link #SOFT}, {@link WEAK}
  +     *   must be {@link #HARD}, {@link #SOFT}, {@link #WEAK}
        */
       public ReferenceMap(int keyType, int valueType) {
           this(keyType, valueType, 16, 0.75f);
  @@ -262,9 +263,9 @@
        *  capacity.
        *
        *  @param keyType  the type of reference to use for keys;
  -     *   must be {@link #HARD}, {@link #SOFT}, {@link WEAK}
  +     *   must be {@link #HARD}, {@link #SOFT}, {@link #WEAK}
        *  @param valueType  the type of reference to use for values;
  -     *   must be {@link #HARD}, {@link #SOFT}, {@link WEAK}
  +     *   must be {@link #HARD}, {@link #SOFT}, {@link #WEAK}
        *  @param capacity  the initial capacity for the map
        *  @param loadFactor  the load factor for the map
        */
  
  
  

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


Mime
View raw message