package it.integry.integrywmsnative.core.coollection.query.specification.custom;

import it.integry.integrywmsnative.core.coollection.query.criteria.Criteria;
import it.integry.integrywmsnative.core.coollection.query.specification.Specification;

public class OrSpecification<T> implements Specification<T> {

  @Override
  public boolean match(T item, Criteria<T> one, Criteria<T> other) {
    return one.match(item) || other.match(item);
  }


}
