private IConfigurationElement selectConfigurationElement(Set set){
  if (set != null && !set.isEmpty()) {
    Iterator e=set.iterator();
    return (IConfigurationElement)e.next();
  }
  return null;
}

private IConfigurationElement selectConfigurationElement ( Set set ) { if ( set != null && ! set . isEmpty ( ) ) { Iterator e = set . iterator ( ) ; return ( IConfigurationElement ) e . next ( ) ; } return null ; }
returns the first enumerated element of the given set .
