Java List from Array arrayToFixedSizeList(final T[] array)

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

Description

array To Fixed Size List

License

Open Source License

Declaration

public static <T> List<T> arrayToFixedSizeList(final T[] array) 

Method Source Code

//package com.java2s;

import java.util.Arrays;

import java.util.List;

public class Main {
    public static <T> List<T> arrayToFixedSizeList(final T[] array) {
        return Arrays.asList(array);
    }//  w ww.  j a  v  a 2  s .  c  om
}

Related

  1. arrayAsListCopy(T... array)
  2. arrayAsListEmptyIfNull(T[] array)
  3. arrayContainsValue(final String[] list, final String value)
  4. arrayMaxInt(final List array)
  5. arrayOf(List objs)
  6. arrayToInSQL(String column, List list)
  7. arrayToJsonStringArr(List arr)
  8. arrayToList(@SuppressWarnings("unchecked") T... a)
  9. arrayToList(char[] charArr)

  10. HOME | Copyright © www.java2s.com 2016