java.lang.Object
com.github.rvesse.airline.prompts.matchers.IndexMatcher<TOption>
Type Parameters:
TOption - Option type
All Implemented Interfaces:
PromptOptionMatcher<TOption>

public class IndexMatcher<TOption> extends Object implements PromptOptionMatcher<TOption>
An option matcher that matches options based on the numeric index of the option using 1 based indexes
  • Constructor Details

    • IndexMatcher

      public IndexMatcher()
  • Method Details