Package commandLineMenus
Interface ListOption<T>
-
- Type Parameters:
T- The type of each item. Be careful, the printed type is always String, by default it is displayed with the toString() function.
public interface ListOption<T>Nests options into a List. For each item, getOption(T item) will return the option associated with the item.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OptiongetOption(T item)Returns the option binded to an item of the list.
-