core/play/src/main/java-scala-2.13+/play/libs/CrossScala.java
public static <T> scala.collection.immutable.Seq<T> toSeq(T[] array) {
        return toSeq(java.util.Arrays.asList(array));
    }
public static <T> scala.collection.immutable.Seq<T> toSeq(T[] array) {
        return toSeq(java.util.Arrays.asList(array));
    }
Converts a Java Array to Scala Seq.

@param array    the java array.
@return the converted Seq.
@param <T> the element type.