JAL-2850 JAL-1766 option to load contig sequence referenced by VCF
[jalview.git] / src / jalview / util / matcher / KeyedMatcherSetI.java
index 7cbebab..3e9f5b6 100644 (file)
@@ -1,6 +1,5 @@
 package jalview.util.matcher;
 
-import java.util.Iterator;
 import java.util.function.Function;
 
 /**
@@ -19,7 +18,7 @@ public interface KeyedMatcherSetI
    * @param valueProvider
    * @return
    */
-  boolean matches(Function<String, String> valueProvider);
+  boolean matches(Function<String[], String> valueProvider);
 
   /**
    * Answers a new object that matches the logical AND of this and m
@@ -54,7 +53,7 @@ public interface KeyedMatcherSetI
    * 
    * @return
    */
-  Iterator<KeyedMatcherI> getMatchers();
+  Iterable<KeyedMatcherI> getMatchers();
 
   /**
    * Answers true if this object contains no conditions