This class provides an implementation of an empty iterator.
This class provides for binary compatibility between Commons Collections
2.1.1 and 3.1 due to issues with IteratorUtils.
| Modifier and Type | Field and Description |
|---|---|
| public static final Iterator | INSTANCE
Singleton instance of the iterator. |
| public static final ResettableIterator | RESETTABLE_INSTANCE
Singleton instance of the iterator. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static < the element type E> Iterator | |
| public static < the element type E> ResettableIterator | Returns: ResettableIterator<E>Get a typed resettable empty iterator instance. |
| INSTANCE | back to summary |
|---|---|
| public static final Iterator<E> INSTANCE Singleton instance of the iterator.
| |
| RESETTABLE_INSTANCE | back to summary |
|---|---|
| public static final ResettableIterator<E> RESETTABLE_INSTANCE Singleton instance of the iterator.
| |
| EmptyIterator | back to summary |
|---|---|
| protected EmptyIterator() Constructor. | |
| emptyIterator | back to summary |
|---|---|
| public static <E> Iterator Get a typed empty iterator instance.
| |
| resettableEmptyIterator | back to summary |
|---|---|
| public static <E> ResettableIterator Get a typed resettable empty iterator instance.
| |