public < T extends ICalComponent > List < T > getComponents ( Class < T > clazz ) { return new ICalComponentList < T > ( clazz ) ; }
Gets all sub - components of a given class . Changes to the returned list will update the parent component object and vice versa .