Interface InputSelection.Action<E>

  • Type Parameters:
    E - The entry value type.
    Enclosing class:
    InputSelection<E>
    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 static interface InputSelection.Action<E>
    The command action interface.
    • Method Detail

      • call

        InputSelection.Reaction call​(E entry,
                                     LinePrinter printer)
        Call the command with the given entry.
        Parameters:
        entry - The entry to work on.
        printer - Line printer to show extra messages.
        Returns:
        The reaction.