M - The machine type.R - The recipe type.public interface IRecipeMatcher<M extends IMachine,R extends IRecipe>
| Modifier and Type | Method and Description |
|---|---|
IRecipeMatch<M,R> |
findRecipe()
Find the recipe.
|
java.util.List<IRecipeMatch<M,R>> |
findRecipes()
Find all the recipes.
|
boolean |
matches(M machine,
R recipeToMatch)
If the given recipe can be created in the given machine.
|
boolean matches(M machine, R recipeToMatch)
machine - The machine.recipeToMatch - The recipe to match.IRecipeMatch<M,R> findRecipe()
java.util.List<IRecipeMatch<M,R>> findRecipes()