Interface Inputtable<T>

All Known Implementing Classes:
NumberedListInputScene, TextInputScene
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 Inputtable<T>

Inputtable Interface

An Inputtable class should be able to collect and return some sort of input from the user

  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for the input collected from the user
  • Method Details

    • getInput

      T getInput()
      Getter for the input collected from the user
      Returns:
      input of type T