Java Array to List toList(T[] array)

Here you can find the source of toList(T[] array)

Description

to List

License

Open Source License

Declaration

public static <T> List<T> toList(T[] array) 

Method Source Code

//package com.java2s;
import java.util.*;

public class Main {
    public static <T> List<T> toList(T[] array) {
        return Arrays.asList(array);
    }//w ww.  jav  a2 s  .c  o  m
}

Related

  1. toList(T[] arr)
  2. toList(T[] array)
  3. toList(T[] array)
  4. toList(T[] array)
  5. toList(T[] array)
  6. toList(U... array)
  7. toList(V... elements)
  8. toList(Value... values)