Fixed some JavaDoc errors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130768 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b7155d174
commit
d3f3a8aa3d
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ReferenceMap.java,v 1.4 2002/08/13 00:46:25 pjack Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ReferenceMap.java,v 1.5 2002/08/13 01:04:19 pjack Exp $
|
||||||
* $Revision: 1.4 $
|
* $Revision: 1.5 $
|
||||||
* $Date: 2002/08/13 00:46:25 $
|
* $Date: 2002/08/13 01:04:19 $
|
||||||
*
|
*
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
*
|
*
|
||||||
|
@ -99,7 +99,8 @@ import java.util.Set;
|
||||||
* Different types of references can be specified for keys
|
* Different types of references can be specified for keys
|
||||||
* and values. The keys can be configured to be weak but
|
* and values. The keys can be configured to be weak but
|
||||||
* the values hard, in which case this class will behave
|
* 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
|
* can also specify hard keys and weak values, or any other
|
||||||
* combination. The default constructor uses hard keys
|
* combination. The default constructor uses hard keys
|
||||||
* and soft values, providing a memory-sensitive cache.<P>
|
* and soft values, providing a memory-sensitive cache.<P>
|
||||||
|
@ -120,7 +121,7 @@ import java.util.Set;
|
||||||
* provide synchronized access to a <Code>ReferenceMap</Code>.
|
* provide synchronized access to a <Code>ReferenceMap</Code>.
|
||||||
*
|
*
|
||||||
* @author Paul Jack
|
* @author Paul Jack
|
||||||
* @version $Id: ReferenceMap.java,v 1.4 2002/08/13 00:46:25 pjack Exp $
|
* @version $Id: ReferenceMap.java,v 1.5 2002/08/13 01:04:19 pjack Exp $
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
* @see java.lang.ref.Reference
|
* @see java.lang.ref.Reference
|
||||||
*/
|
*/
|
||||||
|
@ -247,9 +248,9 @@ public class ReferenceMap extends AbstractMap implements Serializable {
|
||||||
* use the specified types of references.
|
* use the specified types of references.
|
||||||
*
|
*
|
||||||
* @param keyType the type of reference to use for keys;
|
* @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;
|
* @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) {
|
public ReferenceMap(int keyType, int valueType) {
|
||||||
this(keyType, valueType, 16, 0.75f);
|
this(keyType, valueType, 16, 0.75f);
|
||||||
|
@ -262,9 +263,9 @@ public class ReferenceMap extends AbstractMap implements Serializable {
|
||||||
* capacity.
|
* capacity.
|
||||||
*
|
*
|
||||||
* @param keyType the type of reference to use for keys;
|
* @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;
|
* @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 capacity the initial capacity for the map
|
||||||
* @param loadFactor the load factor for the map
|
* @param loadFactor the load factor for the map
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue