ListIterator
Object Hierarchy:
Description:
public interface ListIterator<G> :
BidirIterator<
G?>
A list iterator. This supports bi-directionnal and index-based iteration.
Namespace: Gee
Package: gee-1.0
Content:
Methods:
-
public abstract void
set (G? item)
Sets the current item in the iteration to the specified new item.
-
public abstract void
insert (G? item)
Inserts the specified item before the current item in the iteration. The cursor is let to point to the
current item.
-
public abstract void
add (G? item)
Adds the specified item after the current item in the iteration. The cursor is moved to point to the new
added item.
-
public abstract int
index ()
Returns the current index in the iteration.