net.ranides.assira.collection.list
Class ImmutableListIterator<T>
java.lang.Object
net.ranides.assira.collection.list.AbstractListIterator<T>
net.ranides.assira.collection.list.ImmutableListIterator<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- Iterator<T>, ListIterator<T>
public abstract class ImmutableListIterator<T>
- extends AbstractListIterator<T>
Klasa abstrakcyjna wygodna do implementowania iteratora przeglądającego
kolekcje tylko do odczytu. Szczególnie wygodna przy pisaniu delegatorów,
które nie muszą koncentrować się na implementacji logiki iteratora.
- Author:
- ranides
ImmutableListIterator
public ImmutableListIterator(int index)
- Tworzy iterator wskazujący na podaną pozycję w liście.
- Parameters:
index -
ImmutableListIterator
public ImmutableListIterator()
Copyright © 2013. All Rights Reserved.