ListIterator
Keywords: weiss.util.ListIterator interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weiss.util
Interface ListIterator<AnyType>

All Superinterfaces:
  java.util.Iterator<AnyType>

    public interface ListIterator<AnyType>

extends Iterator<AnyType>

ListIterator interface for List interface.

Method Summary
`boolean` | `hasPrevious()` Tests if there are more items in the collection when iterating in reverse.
`AnyType` | `previous()` Obtains the previous item in the collection.
`void` | `remove()` Remove the last item returned by next or previous.

Methods inherited from interface weiss.util.Iterator
`hasNext, next`

Method Detail

### hasPrevious

    boolean hasPrevious()

  Tests if there are more items in the collection when iterating in reverse.

  Returns:
    true if there are more items in the collection when traversing in reverse.

### previous

    AnyType previous()

  Obtains the previous item in the collection.

  Returns:
    the previous (as yet unseen) item in the collection when traversing in reverse.

### remove

    void remove()

  Remove the last item returned by next or previous. Can only be called once after next or previous.

  Specified by:
    `remove` in interface `java.util.Iterator<AnyType>`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD