org.apache.commons.collections.iterators

Class EmptyListIterator

public class EmptyListIterator extends AbstractEmptyIterator implements ResettableListIterator

Provides an implementation of an empty list iterator.

This class provides an implementation of an empty list iterator. This class provides for binary compatability between Commons Collections 2.1.1 and 3.1 due to issues with IteratorUtils.

Since: Commons Collections 2.1.1 and 3.1

Version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $

Author: Stephen Colebourne

Field Summary
static ListIteratorINSTANCE
Singleton instance of the iterator.
static ResettableListIteratorRESETTABLE_INSTANCE
Singleton instance of the iterator.
Constructor Summary
protected EmptyListIterator()
Constructor.

Field Detail

INSTANCE

public static final ListIterator INSTANCE
Singleton instance of the iterator.

Since: Commons Collections 2.1.1 and 3.1

RESETTABLE_INSTANCE

public static final ResettableListIterator RESETTABLE_INSTANCE
Singleton instance of the iterator.

Since: Commons Collections 3.1

Constructor Detail

EmptyListIterator

protected EmptyListIterator()
Constructor.
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.