public class MyLinkedList
extends java.lang.Object
Constructor and Description |
---|
MyLinkedList() |
Modifier and Type | Method and Description |
---|---|
static <E> java.util.LinkedList<E> |
createList(E... e)
Creates a LinkedList from a given collection of objects
|
@SafeVarargs public static <E> java.util.LinkedList<E> createList(E... e)
E
- the element typee
- a collection of objects to be collected in a LinkedList