Java List from Array asList(Object value)

Here you can find the source of asList(Object value)

Description

as List

License

Open Source License

Declaration

@SuppressWarnings("unchecked")
    public static List<Object> asList(Object value) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {
    @SuppressWarnings("unchecked")
    public static List<Object> asList(Object value) {
        return (List<Object>) value;
    }/*from  w  w  w  .  j  a v a  2  s  .c  o m*/
}

Related

  1. asList(List list)
  2. asList(long... array)
  3. asList(Object info)
  4. asList(Object o, Class cls)
  5. asList(Object theone)
  6. asList(Object value)
  7. asList(Object[] array)
  8. asList(Object[] array)
  9. asList(Set set)