1 package jalview.util.matcher;
3 import java.util.function.Function;
6 * An interface for an object that can apply one or more match conditions, given
7 * a key-value provider. The match conditions are stored against key values, and
8 * applied to the value obtained by a key-value lookup.
12 public interface KeyedMatcherI
15 * Answers true if the value provided for this matcher's key passes this
16 * matcher's match condition
18 * @param valueProvider
21 boolean matches(Function<String, String> valueProvider);
24 * Answers the value key this matcher operates on
31 * Answers the match condition that is applied
35 MatcherI getMatcher();