Interface EnumMethodState


public interface EnumMethodState
Interface for state-providing classes for use with enumeration method extension
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Called by the runtime only if during compile-time the mode indicated early-exit.
    default void
    setParameter(int parameterNumber, Object value)
    Called by the runtime to provide non-lambda expression parameter values
    Returns the enumeration result
  • Method Details

    • setParameter

      default void setParameter(int parameterNumber, Object value)
      Called by the runtime to provide non-lambda expression parameter values
      Parameters:
      parameterNumber - zero for the first parameter, reflects parameter position
      value - parameter value or null if the parameter expression returned null
    • completed

      default boolean completed()
      Called by the runtime only if during compile-time the mode indicated early-exit.
      Returns:
      indicator, true for done, false for more
    • state

      Object state()
      Returns the enumeration result
      Returns:
      result