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 void
add(T el)
boolean
hasPrevious()
int
nextIndex()
T
previous()
int
previousIndex()
void
set(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:
hasPrevious
in interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<T>
-
-