Initial add (with Netbeans project and build script)
[shoot.git] / src / shoot_the_moon / ListFactory.java
blob562835753a0b979a9cfa146b62070c61f304ff7b
1 package shoot_the_moon;
3 import java.util.ArrayList;
4 import java.util.List;
6 public final class ListFactory {
8 public final static <E> List<E> makeList() {
9 List<E> newList = new ArrayList<E>();
10 return newList;
13 public final static <E> List<E> makeList( List<E> list ) {
14 List<E> newList = new ArrayList<E>( list );
15 return newList;