Interface EnumMethodState
public interface EnumMethodState
Interface for state-providing classes for use with enumeration method extension
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 valuesstate()
Returns the enumeration result
-
Method Details
-
setParameter
Called by the runtime to provide non-lambda expression parameter values- Parameters:
parameterNumber
- zero for the first parameter, reflects parameter positionvalue
- 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
-