GODPAPER | All Packages | All Classes | Index | Frames No Frames |
NullIterator

Package | de.polygonal.ds
Class | public class NullIterator
Inheritance | NullIterator Object
Implements | Iterator

An do-nothing iterator for structures that don't support iterators.

Public Properties

| Property | Defined By
--- | --- | ---
|  | data : * Always returns null. | NullIterator

Public Methods

| Method | Defined By
--- | --- | ---
|  | hasNext():Boolean Nullified behaviour. | NullIterator
|  | next():* Nullified behaviour. | NullIterator
|  | start():void Nullified behaviour. | NullIterator

Property Detail

data | property

`data:*`

Always returns null.

Implementation
`public function get data():*`
`public function set data(value:any):void`
Method Detail

hasNext | () | method

`public function hasNext():Boolean`

Nullified behaviour.

Returns

| `Boolean`

next | () | method |

`public function next():*`

Nullified behaviour.

Returns

| `*`

start | () | method |

`public function start():void`

Nullified behaviour.

Thu Jan 16 2014, 01:11 PM +08:00