SingletonIterator
final class SingletonIterator<Type>(x:Type) < Iterator<Type>
Iterator with a single element.
Factory Functions
Name | Description |
---|---|
SingletonIterator | Create an SingletonIterator. |
Member Variables
Name | Description |
---|---|
x:Type? | Single element. |
Factory Function Details
function SingletonIterator<Type>(x:Type) -> SingletonIterator<Type>
Create an SingletonIterator.