Interface NextValue<Value>

All Known Subinterfaces:
IntegerNumeric<Value>
All Known Implementing Classes:
BaseCount, BitCount, Bytes, Count, Estimate, Maximum, Minimum
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 NextValue<Value>
Interface for iteration where hasNext() is replaced by the semantics that null represents the end of iteration
Author:
jonathanl (shibo)
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • next

      Value next()
      Returns:
      The next Value or null if there is none