| Modifier and Type | Interface and Description |
|---|---|
static class |
C.ListFactory.Predefined |
| Modifier and Type | Method and Description |
|---|---|
<ET> List<ET> |
create()
Create an empty
java.util.List contains the generic type E |
<ET> List<ET> |
create(Collection<? extends ET> collection)
Create a
java.util.List pre populated with elements
of specified collection |
<ET> List<ET> |
create(int initialCapacity)
Create a
java.util.List with initial capacity |
<ET> List<ET> create()
java.util.List contains the generic type EET - the generic type of the list element<ET> List<ET> create(Collection<? extends ET> collection) throws NullPointerException
java.util.List pre populated with elements
of specified collectionET - the generic type of the list elementcollection - the collection whose elements are to be placed into this listNullPointerException - if the specified collection is null<ET> List<ET> create(int initialCapacity)
java.util.List with initial capacityET - the generic type of the list elementinitialCapacity - the initial capacity of the new ListCopyright © 2017. All Rights Reserved.