Java List Create asList(T... items)

Here you can find the source of asList(T... items)

Description

as List

License

Apache License

Declaration

public static <T> List<T> asList(T... items) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.*;

public class Main {
    public static <T> List<T> asList(T... items) {
        return Arrays.asList(items);
    }//w w  w  .  j  ava 2  s . c o m
}

Related

  1. asList(Object[] array)
  2. asList(Object[] array)
  3. asList(T... a)
  4. asList(T... array)
  5. asList(T... elements)
  6. asList(T... objs)
  7. asList(T[] array)
  8. asListBox(double[] a)
  9. asListNoNulls(T... array)