Package org.jgroups.util
Class FastArray.FastListIterator
- java.lang.Object
-
- org.jgroups.util.FastArray.FastIterator
-
- org.jgroups.util.FastArray.FastListIterator
-
- All Implemented Interfaces:
java.util.Iterator<T>,java.util.ListIterator<T>
public class FastArray.FastListIterator extends FastArray.FastIterator implements java.util.ListIterator<T>
-
-
Field Summary
-
Fields inherited from class org.jgroups.util.FastArray.FastIterator
cursor, filter, hit_count, last_idx
-
-
Constructor Summary
Constructors Constructor Description FastListIterator(int idx)FastListIterator(java.util.function.Predicate<T> filter)FastListIterator(java.util.function.Predicate<T> filter, int idx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T el)booleanhasPrevious()intnextIndex()Tprevious()intpreviousIndex()voidset(T el)-
Methods inherited from class org.jgroups.util.FastArray.FastIterator
cursor, hasNext, hitCount, next, nullOrNoFilterMatch, remove, replace, toString
-
-
-
-
Method Detail
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<T>
-
-