Java List Create createEmptyList(Class type)

Here you can find the source of createEmptyList(Class type)

Description

create Empty List

License

Open Source License

Declaration

static <T> List<T> createEmptyList(Class<T> type) 

Method Source Code


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

import java.util.List;

public class Main {
    static <T> List<T> createEmptyList(Class<T> type) {
        return new ArrayList<T>();
    }/*  www. j a v a2s .  co m*/
}

Related

  1. createDefaultValueList(int capacity, T defaultValue)
  2. createDelimitedString(String rawListAsString)
  3. createDoubleList(double[] values)
  4. createDriverSheetNames(List driverBeans)
  5. createEmptyAdjacencyList(int n)
  6. createEmptyListArray(int size)
  7. createEmptyListOfType(List original, boolean sameSize)
  8. createEntireInStatement(List values)
  9. createErrorStringFromList(List errorList)