src/main/java/mezz/jei/util/StackHelper.java
@Nullable
	public <R> R containsStack(Iterable<ItemStackMatchable<R>> stacks, ItemStackMatchable<?> contains) {
		for (ItemStackMatchable<R> stack : stacks) {
			if (isEquivalent(contains.getStack(), stack.getStack())) {
				return stack.getResult();
			}
		}
		return null;
	}
/* Returns an ItemStack from "stacks" if it isEquivalent to "contains" */
Returns an ItemStack from "stacks" if it isEquivalent to "contains"
Returns an ItemStack from " stacks " if it isEquivalent to " contains "
@Nullable
	public <R> R containsStack(Iterable<ItemStackMatchable<R>> stacks, ItemStackMatchable<?> contains) {
		for (ItemStackMatchable<R> stack : stacks) {
			if (isEquivalent(contains.getStack(), stack.getStack())) {
				return stack.getResult();
			}
		}
		return null;
	}
@ Nullable public < R > R containsStack ( Iterable < ItemStackMatchable < R > > stacks , ItemStackMatchable < ? > contains ) { for ( ItemStackMatchable < R > stack : stacks ) { if ( isEquivalent ( contains . getStack ( ) , stack . getStack ( ) ) ) { return stack . getResult ( ) ; } } return null ; }
Returns an ItemStack from "stacks" if it isEquivalent to "contains"
Returns an ItemStack from " stacks " if it isEquivalent to " contains "