Java List from Array arrayToList(Object[] hyCycles)

Here you can find the source of arrayToList(Object[] hyCycles)

Description

array To List

License

Apache License

Declaration

@SuppressWarnings({ "rawtypes", "unchecked" })
    public static List arrayToList(Object[] hyCycles) 

Method Source Code

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

import java.util.ArrayList;
import java.util.Collections;

import java.util.List;

public class Main {
    @SuppressWarnings({ "rawtypes", "unchecked" })
    public static List arrayToList(Object[] hyCycles) {
        List list = new ArrayList();
        Collections.addAll(list, hyCycles);
        return list;
    }//from w w  w .  j av a 2s . c  om
}

Related

  1. arrayToList(int[] array)
  2. arrayToList(Object arr[], int from, int length)
  3. arrayToList(Object data)
  4. arrayToList(Object data[])
  5. arrayToList(Object[] arr)
  6. arrayToList(String[] array, String... defaults)
  7. arrayToList(String[] arrValues)
  8. ArrayToList(String[] input)
  9. arrayToList(String[] str)