Package org.aksw.commons.collections
Class ConvertingListIterator<T,U,I extends ListIterator<U>>
java.lang.Object
org.aksw.commons.collections.ConvertingIterator<T,U,ListIterator<U>>
org.aksw.commons.collections.ConvertingListIterator<T,U,I>
- All Implemented Interfaces:
Iterator<T>,ListIterator<T>
public class ConvertingListIterator<T,U,I extends ListIterator<U>>
extends ConvertingIterator<T,U,ListIterator<U>>
implements ListIterator<T>
-
Field Summary
Fields inherited from class org.aksw.commons.collections.ConvertingIterator
converter, core -
Constructor Summary
ConstructorsConstructorDescriptionConvertingListIterator(I core, com.google.common.base.Converter<U, T> converter) -
Method Summary
Methods inherited from class org.aksw.commons.collections.ConvertingIterator
hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
ConvertingListIterator
-
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<T>
-
previous
- Specified by:
previousin interfaceListIterator<T>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<T>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<T>
-
set
- Specified by:
setin interfaceListIterator<T>
-
add
- Specified by:
addin interfaceListIterator<T>
-