public class RecipeMatcher
extends java.lang.Object
Constructor and Description |
---|
RecipeMatcher() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
backtrack(java.util.BitSet data,
int[] ret,
int start,
int elements) |
private static boolean |
claim(int[] ret,
java.util.BitSet data,
int claimed,
int elements) |
static <T> int[] |
findMatches(java.util.List<T> inputs,
java.util.List<? extends java.util.function.Predicate<T>> tests)
Attempts to match inputs to the specified tests.
|
public static <T> int[] findMatches(java.util.List<T> inputs, java.util.List<? extends java.util.function.Predicate<T>> tests)
private static boolean claim(int[] ret, java.util.BitSet data, int claimed, int elements)
private static boolean backtrack(java.util.BitSet data, int[] ret, int start, int elements)