Class MatcherUtils.ExactOrStartsWithIgnoresCase<TOption>

java.lang.Object
com.github.rvesse.airline.prompts.matchers.MatcherUtils.ExactOrStartsWithIgnoresCase<TOption>
All Implemented Interfaces:
org.apache.commons.collections4.Predicate<TOption>
Enclosing class:
MatcherUtils

public static final class MatcherUtils.ExactOrStartsWithIgnoresCase<TOption> extends Object implements org.apache.commons.collections4.Predicate<TOption>
  • Field Details

    • response

      private final String response
  • Constructor Details

    • ExactOrStartsWithIgnoresCase

      protected ExactOrStartsWithIgnoresCase(String response)
  • Method Details

    • evaluate

      public boolean evaluate(TOption object)
      Specified by:
      evaluate in interface org.apache.commons.collections4.Predicate<TOption>