fixed strage javadoc wording per patch

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130692 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Morgan James Delagrange 2002-04-16 21:15:13 +00:00
parent fc2701212d
commit f3eef9b91d
1 changed files with 27 additions and 27 deletions

View File

@ -1,7 +1,7 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/LRUMap.java,v 1.12 2002/03/19 01:18:09 jefft Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/LRUMap.java,v 1.13 2002/04/16 21:15:13 morgand Exp $
* $Revision: 1.12 $ * $Revision: 1.13 $
* $Date: 2002/03/19 01:18:09 $ * $Date: 2002/04/16 21:15:13 $
* *
* ==================================================================== * ====================================================================
* *
@ -68,30 +68,30 @@ import java.io.ObjectOutput;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.util.Iterator; import java.util.Iterator;
/** <p> /**
* An implementation of a Map which has a maximum size and uses a Least Recently Used * <p>
* algorithm to remove items from the Map when the maximum size is reached and new items are added. * An implementation of a Map which has a maximum size and uses a Least Recently Used
* </p> * algorithm to remove items from the Map when the maximum size is reached and new items are added.
* * </p>
* <p> *
* A synchronized version can be obtained with: * <p>
* <code>Collections.synchronizedMap( theMapToSynchronize )</code> * A synchronized version can be obtained with:
* If it will be accessed by multiple threads, you _must_ synchronize access * <code>Collections.synchronizedMap( theMapToSynchronize )</code>
* to this Map. Even concurrent get(Object) operations produce indeterminate * If it will be accessed by multiple threads, you _must_ synchronize access
* behaviour. * to this Map. Even concurrent get(Object) operations produce indeterminate
* </p> * behaviour.
* * </p>
* <p> *
* Unlike that Collections 1.0 version, this version of LRUMap does use a true * <p>
* LRU algorithm. The keys for all gets and puts are moved to the front of * Unlike the Collections 1.0 version, this version of LRUMap does use a true
* the list. LRUMap is now a subclass of SequencedHashMap, and the "LRU" * LRU algorithm. The keys for all gets and puts are moved to the front of
* key is now equivalent to LRUMap.getFirst(). * the list. LRUMap is now a subclass of SequencedHashMap, and the "LRU"
* </p> * key is now equivalent to LRUMap.getFirst().
* * </p>
* *
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a> * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author <a href="mailto:morgand@apache.org">Morgan Delagrange</a> * @author <a href="mailto:morgand@apache.org">Morgan Delagrange</a>
*/ */
public class LRUMap extends SequencedHashMap implements Externalizable { public class LRUMap extends SequencedHashMap implements Externalizable {
private int maximumSize = 0; private int maximumSize = 0;