deprecated ArrayEnumeration

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Morgan James Delagrange 2002-03-18 23:51:05 +00:00
parent 6c8d4b8fc7
commit 00be90bccc
2 changed files with 17 additions and 4 deletions

View File

@ -79,6 +79,14 @@ useful Comparator classes. Descriptions of the new collections and comparators
These classes have changed since <i>Collections 1.0</i>:
<p><u>ArrayEnumeration</u></p>
<p>ArrayEnumeration has been <b>deprecated</b>. This class has significant overlap with
ArrayIterator, and Collections focuses mainly on Java2-style
collections. If you need to enumerate an array,
create an ArrayIterator and wrap it with an
IteratorEnumeration instead.</p>
<p><u>ArrayIterator</u></p>
<p><i>Bugs fixed:</i></p>

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/Attic/ArrayEnumeration.java,v 1.2 2002/02/10 08:07:42 jstrachan Exp $
* $Revision: 1.2 $
* $Date: 2002/02/10 08:07:42 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/Attic/ArrayEnumeration.java,v 1.3 2002/03/18 23:49:20 morgand Exp $
* $Revision: 1.3 $
* $Date: 2002/03/18 23:49:20 $
*
* ====================================================================
*
@ -68,6 +68,11 @@ import java.util.NoSuchElementException;
* Enumeration wrapper for array.
*
* @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
* @deprecated This class has significant overlap with ArrayIterator,
* and Collections focuses mainly on Java2-style
* collections. If you need to enumerate an array,
* create an {@link ArrayIterator} and wrap it with an
* {@link IteratorEnumeration} instead.
*/
public final class ArrayEnumeration
implements Enumeration