JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
org.dmfs.jems.generator
Interface Generator<T>
All Known Implementing Classes:
Sequence
public interface
Generator<T>
A Generator is able to generate an infinite sequence of values. It's similar to
Iterator
with the difference that a generator always has a next element, hence there is no
hasNext()
method.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
T
next
()
Generates and returns another value.
Method Detail
next
T
next()
Generates and returns another value.
Returns:
Another generated value.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method