| Package | org.servebox.commons.collection |
| Interface | public interface IIterator |
| Subinterfaces | IListIterator |
| Method | Defined by | ||
|---|---|---|---|
|
hasNext():Boolean
Indicates whether the iterator has more elements when iterate the list in the forward direction.
| IIterator | ||
|
Retrieves the next element in the underlying list.
| IIterator | ||
|
remove():void
Removes the current element.
| IIterator | ||
| hasNext | () | method |
public function hasNext():BooleanIndicates whether the iterator has more elements when iterate the list in the forward direction.
ReturnsBoolean |
| next | () | method |
public function next():IBasicObjectRetrieves the next element in the underlying list.
ReturnsIBasicObject |
| remove | () | method |
public function remove():voidRemoves the current element. The current element is the last that was read using next or previous.