Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.LinkedList;
import java.util.List;

public class Main {
    public static <E> List<E> makeList(Iterable<E> iter) {
        List<E> list = new LinkedList<E>();
        for (E item : iter) {
            list.add(item);
        }
        return list;
    }
}