Add since tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4433733ff1
commit
e2db31cf78
|
@ -25,7 +25,7 @@ import org.apache.commons.collections.ResettableIterator;
|
|||
* object instance.
|
||||
*
|
||||
* @since Commons Collections 2.0
|
||||
* @version $Revision: 1.13 $ $Date: 2004/04/09 14:38:47 $
|
||||
* @version $Revision: 1.14 $ $Date: 2004/04/09 22:52:48 $
|
||||
*
|
||||
* @author James Strachan
|
||||
* @author Stephen Colebourne
|
||||
|
@ -59,6 +59,7 @@ public class SingletonIterator
|
|||
*
|
||||
* @param object the single object to return from the iterator
|
||||
* @param removeAllowed true if remove is allowed
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
public SingletonIterator(Object object, boolean removeAllowed) {
|
||||
super();
|
||||
|
|
|
@ -46,7 +46,7 @@ import org.apache.commons.collections.MapIterator;
|
|||
* need for unusual subclasses is here.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision: 1.15 $ $Date: 2004/04/09 22:14:09 $
|
||||
* @version $Revision: 1.16 $ $Date: 2004/04/09 22:52:48 $
|
||||
*
|
||||
* @author java util HashMap
|
||||
* @author Stephen Colebourne
|
||||
|
@ -654,6 +654,7 @@ public class AbstractHashedMap implements IterableMap {
|
|||
* @param entry the entry to query, must not be null
|
||||
* @return the <code>next</code> field of the entry
|
||||
* @throws NullPointerException if the entry is null
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
protected HashEntry entryNext(HashEntry entry) {
|
||||
return entry.next;
|
||||
|
@ -666,6 +667,7 @@ public class AbstractHashedMap implements IterableMap {
|
|||
* @param entry the entry to query, must not be null
|
||||
* @return the <code>hashCode</code> field of the entry
|
||||
* @throws NullPointerException if the entry is null
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
protected int entryHashCode(HashEntry entry) {
|
||||
return entry.hashCode;
|
||||
|
@ -678,6 +680,7 @@ public class AbstractHashedMap implements IterableMap {
|
|||
* @param entry the entry to query, must not be null
|
||||
* @return the <code>key</code> field of the entry
|
||||
* @throws NullPointerException if the entry is null
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
protected Object entryKey(HashEntry entry) {
|
||||
return entry.key;
|
||||
|
@ -690,6 +693,7 @@ public class AbstractHashedMap implements IterableMap {
|
|||
* @param entry the entry to query, must not be null
|
||||
* @return the <code>value</code> field of the entry
|
||||
* @throws NullPointerException if the entry is null
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
protected Object entryValue(HashEntry entry) {
|
||||
return entry.value;
|
||||
|
|
|
@ -56,7 +56,7 @@ import org.apache.commons.collections.ResettableIterator;
|
|||
* methods exposed.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision: 1.10 $ $Date: 2004/03/13 15:54:34 $
|
||||
* @version $Revision: 1.11 $ $Date: 2004/04/09 22:52:48 $
|
||||
*
|
||||
* @author java util LinkedHashMap
|
||||
* @author Stephen Colebourne
|
||||
|
@ -299,6 +299,7 @@ public class AbstractLinkedMap extends AbstractHashedMap implements OrderedMap {
|
|||
* @param entry the entry to query, must not be null
|
||||
* @return the <code>before</code> field of the entry
|
||||
* @throws NullPointerException if the entry is null
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
protected LinkEntry entryBefore(LinkEntry entry) {
|
||||
return entry.before;
|
||||
|
@ -311,6 +312,7 @@ public class AbstractLinkedMap extends AbstractHashedMap implements OrderedMap {
|
|||
* @param entry the entry to query, must not be null
|
||||
* @return the <code>after</code> field of the entry
|
||||
* @throws NullPointerException if the entry is null
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
protected LinkEntry entryAfter(LinkEntry entry) {
|
||||
return entry.after;
|
||||
|
|
|
@ -60,7 +60,7 @@ import org.apache.commons.collections.ResettableIterator;
|
|||
* Do not use <code>Flat3Map</code> if the size is likely to grow beyond 3.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision: 1.15 $ $Date: 2004/04/09 14:42:36 $
|
||||
* @version $Revision: 1.16 $ $Date: 2004/04/09 22:52:48 $
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
*/
|
||||
|
@ -374,6 +374,7 @@ public class Flat3Map implements IterableMap, Serializable, Cloneable {
|
|||
* This can be overridden by subclasses.
|
||||
*
|
||||
* @return a new HashedMap or subclass
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
protected HashedMap createDelegateMap() {
|
||||
return new HashedMap();
|
||||
|
@ -997,6 +998,7 @@ public class Flat3Map implements IterableMap, Serializable, Cloneable {
|
|||
* Clones the map without cloning the keys or values.
|
||||
*
|
||||
* @return a shallow clone
|
||||
* @since Commons Collections 3.1
|
||||
*/
|
||||
public Object clone() {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue