Streams
The package "streams" currently contains only one new concept, Generators. A Generator can generate new values endlessly so it is similar to an enumeration that always return "true" to hasMoreElements. Generators also know their current value and can return collections of next values. Currently Generators are used with the database for generating unique identifiers.
|