class DiagnosisHittingSet {

    public boolean contains(DiagnosisElement otherElement) {
        Preconditions.notNull(otherElement);

        return diagnosisElements.stream()
                .anyMatch(diagnosisElement -> diagnosisElement.equals(otherElement));
    }

    public  DiagnosisHittingSet(List<DiagnosisElement> diagnosisElements);

}