public GroupCategorySet(GroupCategory[] categories){
  Assert.isNotNull(categories);
  fContent=new ArrayList(categories.length);
  for (int i=0; i < categories.length; i++) {
    if (!fContent.contains(categories[i]))     fContent.add(categories[i]);
  }
}

public GroupCategorySet ( GroupCategory [ ] categories ) { Assert . isNotNull ( categories ) ; fContent = new ArrayList ( categories . length ) ; for ( int i = 0 ; i < categories . length ; i ++ ) { if ( ! fContent . contains ( categories [ i ] ) ) fContent . add ( categories [ i ] ) ; } }
creates a new set of group categories initialized from the given array of group categories
