src/main/java/mezz/jei/util/StackHelper.java
@Nullable
	public <R, T> R containsStackMatchable(Iterable<ItemStackMatchable<R>> stacks, Iterable<ItemStackMatchable<T>> contains) {
		for (ItemStackMatchable<?> containStack : contains) {
			R matchingStack = containsStack(stacks, containStack);
			if (matchingStack != null) {
				return matchingStack;
			}
		}

		return null;
	}
/* Returns an ItemStack from "stacks" if it isEquivalent to an ItemStack from "contains" */
Returns an ItemStack from "stacks" if it isEquivalent to an ItemStack from "contains"
Returns an ItemStack from " stacks " if it isEquivalent to an ItemStack from " contains "
@Nullable
	public <R, T> R containsStackMatchable(Iterable<ItemStackMatchable<R>> stacks, Iterable<ItemStackMatchable<T>> contains) {
		for (ItemStackMatchable<?> containStack : contains) {
			R matchingStack = containsStack(stacks, containStack);
			if (matchingStack != null) {
				return matchingStack;
			}
		}
		return null;
	}
@ Nullable public < R , T > R containsStackMatchable ( Iterable < ItemStackMatchable < R > > stacks , Iterable < ItemStackMatchable < T > > contains ) { for ( ItemStackMatchable < ? > containStack : contains ) { R matchingStack = containsStack ( stacks , containStack ) ; if ( matchingStack != null ) { return matchingStack ; } } return null ; }
Returns an ItemStack from "stacks" if it isEquivalent to an ItemStack from "contains"
Returns an ItemStack from " stacks " if it isEquivalent to an ItemStack from " contains "