public boolean contains(ChronoInterval<T> interval) {

        for (ChronoInterval<T> i : this.intervals) {
            if (i.equals(interval)) {
                return true;
            }
        }

        return false;

    }
public boolean contains ( ChronoInterval < T > interval ) { for ( ChronoInterval < T > i : this . intervals ) { if ( i . equals ( interval ) ) { return true ; } } return false ; }
/*[deutsch]
<p>Ermittelt, ob das angegebene Intervall in dieser Menge gespeichert ist. </p>

@param   interval    the interval to be checked
@return  boolean
@since   3.35/4.30