public static <T>List<T> tuple(T... objects){
  return Collections.unmodifiableList(list(objects));
}

public static < T > List < T > tuple ( T ... objects ) { return Collections . unmodifiableList ( list ( objects ) ) ; }
like py . list ( ) , but returns an immutable sequence . < p > named after the same concept in python , which in turn was named after the pre - existing mathematical concept of a " tuple "
