@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof CombinedPredicate)) return false;

        final CombinedPredicate<?> that = (CombinedPredicate<?>) o;
        final Iterator<Predicate<? super ENTITY>> it = predicates.iterator();
        return getType() == that.getType()
            && that.stream().allMatch(it.next()::equals);
    }
Specialization for {@code OR}-predicates.

@param <ENTITY>  the entity type
runtime-parent/runtime-field/src/main/java/com/speedment/runtime/field/internal/predicate/AbstractCombinedPredicate.java