code: public <T extends ICalComponent> T getComponent(Class<T> clazz) {
  		return clazz.cast(components.first(clazz));
  	}
docs: Gets the first sub-component of a given class.
  @param clazz the component class
  @param <T> the component class
  @return the sub-component or null if not found