Package | sekati.collections |
Interface | public interface IBidirectionalIterator extends IIterator |
Subinterfaces | ILoopableIterator |
Implementors | ArrayBidirectionalIterator |
Property | Defined by | ||
---|---|---|---|
length : int [read-only]
Return the collection length.
| IBidirectionalIterator | ||
pointer : int [read-only]
Return the interative pointer index.
| IBidirectionalIterator |
Method | Defined by | ||
---|---|---|---|
glimpse():Object
Returns the previous item in the collection without moving to it.
| IBidirectionalIterator | ||
hasNext():Boolean
Is there another item in the collection to move to.
| IIterator | ||
hasPrevious():Boolean
Is there a previous item in the collection to move to.
| IBidirectionalIterator | ||
next():Object
Move to the next item and return it.
| IIterator | ||
peek():Object
Returns the next item in the collection without moving to it.
| IIterator | ||
previous():Object
Move to the previous item and return it.
| IBidirectionalIterator |
length | property |
length:int
[read-only]Return the collection length.
Implementation public function get length():int
pointer | property |
pointer:int
[read-only]Return the interative pointer index.
Implementation public function get pointer():int
glimpse | () | method |
public function glimpse():Object
Returns the previous item in the collection without moving to it.
ReturnsObject |
hasPrevious | () | method |
public function hasPrevious():Boolean
Is there a previous item in the collection to move to.
ReturnsBoolean |
previous | () | method |
public function previous():Object
Move to the previous item and return it.
ReturnsObject |