/** Returns whether all of a collection of {@link CorRef}s are satisfied * by at least one of a collection of {@link CorDef}s. */ private boolean hasAll(Collection<CorRef> corRefs, Collection<CorDef> corDefs) { for (CorRef corRef : corRefs) { if (!has(corDefs, corRef)) { return false; } } return true; }
/** Returns whether all of a collection of {@link CorRef}s are satisfied * by at least one of a collection of {@link CorDef}s. */ private boolean hasAll(Collection<CorRef> corRefs, Collection<CorDef> corDefs) { for (CorRef corRef : corRefs) { if (!has(corDefs, corRef)) { return false; } } return true; }
/** Returns whether all of a collection of {@link CorRef}s are satisfied * by at least one of a collection of {@link CorDef}s. */ private boolean hasAll(Collection<CorRef> corRefs, Collection<CorDef> corDefs) { for (CorRef corRef : corRefs) { if (!has(corDefs, corRef)) { return false; } } return true; }