public static Set asCaseInsensitiveHashSet(Object... values){
  if (values == null) {
    return new CaseInsensitiveHashSet(0);
  }
 else {
    return new CaseInsensitiveHashSet(Arrays.asList(values));
  }
}

public static Set asCaseInsensitiveHashSet ( Object ... values ) { if ( values == null ) { return new CaseInsensitiveHashSet ( 0 ) ; } else { return new CaseInsensitiveHashSet ( Arrays . asList ( values ) ) ; } }
collects the passed in objects into a case insensitive hash set . unfortunately case insensitive hash sets are not generic .
