Module kivakit.interfaces
Interface NextValue<Value>
- All Known Subinterfaces:
IntegerNumeric<Value>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for iteration where hasNext() is replaced by the semantics that null represents the end of iteration
- Author:
- jonathanl (shibo)
-
Method Summary
-
Method Details
-
next
Value next()- Returns:
- The next Value or null if there is none
-