Package | com.yworks.support |
Class | public final class EmptyIterator |
Inheritance | EmptyIterator Object |
Implements | Iterator |
Iterator
.
See also
Method | Defined By | ||
---|---|---|---|
hasNext():Boolean
Tests whether the method next() will return a valid element. | EmptyIterator | ||
next():Object
Gets the next element of the set of elements. | EmptyIterator | ||
reset():void
Sets the Iterator's element cursor to the first element. | EmptyIterator |
Constant | Defined By | ||
---|---|---|---|
instance : Iterator [static]
A sharable static instance of this class. | EmptyIterator |
hasNext | () | method |
public function hasNext():Boolean
Tests whether the method next()
will return a valid element.
Boolean — true if next() will return a valid element.
|
next | () | method |
public function next():Object
Gets the next element of the set of elements.
ReturnsObject — The next element in the set.
|
reset | () | method |
public function reset():void
Sets the Iterator
's element cursor to the first element.
instance | Constant |
public static const instance:Iterator
A sharable static instance of this class.