@SafeVarargs public static List<?> listOf(Object... elements){
  return Collections.unmodifiableList(Arrays.asList(elements));
}

@ SafeVarargs public static List < ? > listOf ( Object ... elements ) { return Collections . unmodifiableList ( Arrays . asList ( elements ) ) ; }
creates a list from a variable length array of elements .
