@SafeVarargs public static <T>Set<T> asSet(final T... array){
  Set<T> arraySet=new HashSet<T>(array.length);
  Collections.addAll(arraySet,array);
  return arraySet;
}

@ SafeVarargs public static < T > Set < T > asSet ( final T ... array ) { Set < T > arraySet = new HashSet < T > ( array . length ) ; Collections . addAll ( arraySet , array ) ; return arraySet ; }
returns the specified array as a set of elements . < p / >
