public static <T>Set<T> frozenset(T... objects){
  return Collections.unmodifiableSet(set(objects));
}

public static < T > Set < T > frozenset ( T ... objects ) { return Collections . unmodifiableSet ( set ( objects ) ) ; }
just like py . set ( ) , but it returns an immutable set . < p > called " frozen " set because that ' s what python calls it - might as well , given the context and purpose of this class .
