From b6aac639d99f2900f9b542455ab9f1142ae50121 Mon Sep 17 00:00:00 2001
From: Thomas Neidhart
* The removal order can be based on insertion order (eg, a FIFO queue or a
* LIFO stack), on access order (eg, an LRU cache), on some arbitrary comparator
- * (eg, a priority queue) or on any other well-defined ordering.
+ * (eg, a priority queue) or on any other well-defined ordering.
* Note that the removal order is not necessarily the same as the iteration
* order. A
* This interface does not specify any behavior for
* {@link Object#equals(Object)} and {@link Object#hashCode} methods. It
* is therefore possible for a
* A
* Standard implementations of common closures are provided by
- * {@link ClosureUtils}. These include method invokation and for/while loops.
+ * {@link ClosureUtils}. These include method invocation and for/while loops.
* A
* Standard implementations of common factories are provided by
* {@link FactoryUtils}. These include factories that return a constant,
- * a copy of a prototype or a new instance.
+ * a copy of a prototype or a new instance.
* A
* For example:
* Buffer
implementation may have equivalent removal
- * and iteration orders, but this is not required.
+ * and iteration orders, but this is not required.Buffer
implementation to also
* also implement {@link java.util.List}, {@link java.util.Set} or
- * {@link Bag}.
+ * {@link Bag}.Closure
represents a block of code which is executed from
- * inside some block, function or iteration. It operates an input object.
+ * inside some block, function or iteration. It operates an input object.Factory
creates an object without using an input parameter.
- * If an input parameter is required, then {@link Transformer} is more appropriate.
+ * If an input parameter is required, then {@link Transformer} is more appropriate.MultiMap
is a Map with slightly different semantics.
* Putting a value into the map will add the value to a Collection at that key.
- * Getting a value will return a Collection, holding all the values put to that key.
+ * Getting a value will return a Collection, holding all the values put to that key.
@@ -31,13 +31,13 @@ import java.util.Collection;
* mhm.put(key, "A");
* mhm.put(key, "B");
* mhm.put(key, "C");
- * Collection coll = (Collection) mhm.get(key);
+ * Collection coll = (Collection) mhm.get(key);
- * coll
will be a collection containing "A", "B", "C".
+ * coll
will be a collection containing "A", "B", "C".
* NOTE: Additional methods were added to this interface in Commons Collections 3.1.
* These were added solely for documentation purposes and do not change the interface
- * as they were defined in the superinterface Map
anyway.
+ * as they were defined in the superinterface Map
anyway.