Deprecated API

Deprecated Classes
org.apache.commons.collections.ArrayEnumeration
          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. 
org.apache.commons.collections.ArrayIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.EnumerationIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.FilterIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.FilterListIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.IteratorEnumeration
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.ProxyIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.ProxyListIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.SingletonIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.SoftRefHashMap
          This class is all kinds of wonky; use ReferenceMap instead. 
org.apache.commons.collections.StringStack
          This class is not a Stack, it is a String utility. As such it is deprecated in favour of the StringUtils class in the [lang] project. 
org.apache.commons.collections.TransformIterator
          this class has been moved to the iterators subpackage 
 

Deprecated Fields
org.apache.commons.collections.IteratorUtils.EMPTY_ITERATOR
          Use EmptyIterator.INSTANCE 
org.apache.commons.collections.CollectionUtils.EMPTY_ITERATOR
          use IteratorUtils.EMPTY_ITERATOR 
org.apache.commons.collections.IteratorUtils.EMPTY_LIST_ITERATOR
          Use EmptyListIterator.INSTANCE 
 

Deprecated Methods
org.apache.commons.collections.IteratorUtils.arrayIterator(Object[])
          Use new ArrayIterator(array) 
org.apache.commons.collections.IteratorUtils.arrayIterator(Object[], int)
          Use new ArrayIterator(array,start) 
org.apache.commons.collections.IteratorUtils.arrayIterator(Object[], int, int)
          Use new ArrayIterator(array,start,end) 
org.apache.commons.collections.IteratorUtils.emptyIterator()
          Use EmptyIterator.INSTANCE 
org.apache.commons.collections.IteratorUtils.emptyListIterator()
          Use EmptyListIterator.INSTANCE 
org.apache.commons.collections.CollectionUtils.getIterator(Object)
          use IteratorUtils version instead 
org.apache.commons.collections.IteratorUtils.singletonIterator(Object)
          Use new SingletonIterator(object) 
 



Copyright © 2001-2004 The Apache Software Foundation. All Rights Reserved.