Packagesekati.collections
Interfacepublic interface ILoopableIterator extends IBidirectionalIterator, IIterator
ImplementorsArrayLoopableIterator

ILoopableIterator defines how loopable, nondestructive, bi-directional iterating of collections of items is handled.



Public Properties
 PropertyDefined by
 Inheritedlength : int
Return the collection length.
IBidirectionalIterator
 Inheritedpointer : int
Return the interative pointer index.
IBidirectionalIterator
Public Methods
 MethodDefined by
 Inherited
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
 Inherited
hasPrevious():Boolean
Is there a previous item in the collection to move to.
IBidirectionalIterator
  
isAtEnd():Boolean
Returns true if we are at the end of the collection.
ILoopableIterator
  
isAtStart():Boolean
Returns true if we are at the start of the collection.
ILoopableIterator
 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
 Inherited
previous():Object
Move to the previous item and return it.
IBidirectionalIterator
Method detail
isAtEnd()method
public function isAtEnd():Boolean

Returns true if we are at the end of the collection.

Returns
Boolean
isAtStart()method 
public function isAtStart():Boolean

Returns true if we are at the start of the collection.

Returns
Boolean