Package org.dmfs.jems2
Interface Generatable<T>
-
- All Known Implementing Classes:
DelegatingGeneratable,Sequence
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Generatable<T>A Generatable can return aGenerator. This is the equivalent ofIterablebut for infinite generators.Instances of this type must be immutable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generator<T>generator()
-