public void clear() {if ( readonly ) throw new IllegalStateException("can't alter readonly IntervalSet");intervals.clear();}

public void clear ( ) { if ( readonly ) throw new IllegalStateException ( "can't alter readonly IntervalSet" ) ; intervals . clear ( ) ; }
public virtual void Clear(){if (@readonly){throw new InvalidOperationException("can't alter readonly IntervalSet");}intervals.Clear();}
