public < T extends ICalProperty > List < T > removeProperties ( Class < T > clazz ) { List < ICalProperty > removed = properties . removeAll ( clazz ) ; return castList ( removed , clazz ) ; }
Removes all properties of a given class from this component .