public boolean containsOneCategory(List categories){
  for (Iterator iter=categories.iterator(); iter.hasNext(); ) {
    GroupCategory category=(GroupCategory)iter.next();
    if (contains(category))     return true;
  }
  return false;
}

public boolean containsOneCategory ( List categories ) { for ( Iterator iter = categories . iterator ( ) ; iter . hasNext ( ) ; ) { GroupCategory category = ( GroupCategory ) iter . next ( ) ; if ( contains ( category ) ) return true ; } return false ; }
returns whether one of the given categories is contained in this set of group categories
