Packagesekati.collections
Interfacepublic interface IBidirectionalIterator extends IIterator
SubinterfacesILoopableIterator
ImplementorsArrayBidirectionalIterator

IBidirectionalIterator defines how the non-destructive, pointer-based, bidrectional iterating of collections of items is handled.



Public Properties
 PropertyDefined by
  length : int
[read-only] Return the collection length.
IBidirectionalIterator
  pointer : int
[read-only] Return the interative pointer index.
IBidirectionalIterator
Public Methods
 MethodDefined by
  
glimpse():Object
Returns the previous item in the collection without moving to it.
IBidirectionalIterator
 Inherited
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
 Inherited
next():Object
Move to the next item and return it.
IIterator
 Inherited
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
Property detail
lengthproperty
length:int  [read-only]

Return the collection length.

Implementation
    public function get length():int
pointerproperty 
pointer:int  [read-only]

Return the interative pointer index.

Implementation
    public function get pointer():int
Method detail
glimpse()method
public function glimpse():Object

Returns the previous item in the collection without moving to it.

Returns
Object
hasPrevious()method 
public function hasPrevious():Boolean

Is there a previous item in the collection to move to.

Returns
Boolean
previous()method 
public function previous():Object

Move to the previous item and return it.

Returns
Object