public class GapLists
extends java.lang.Object
| Constructor and Description |
|---|
GapLists() |
| Modifier and Type | Method and Description |
|---|---|
static IList<?> |
createWrapperList(java.lang.Class<?> type)
Create a GapList wrapping a primitive GapList, e.g. an IntObjGapList wrapping an IntGapList.
|
static IList<?> |
createWrapperList(java.lang.Class<?> type,
int capacity)
Create a GapList wrapping a primitive GapList, e.g. an IntObjGapList wrapping an IntGapList.
|
public static IList<?> createWrapperList(java.lang.Class<?> type)
type - primitive type for GapListjava.lang.IllegalArgumentException - if no primitive type is specifiedpublic static IList<?> createWrapperList(java.lang.Class<?> type, int capacity)
type - primitive type for GapListcapacity - initial capacity of created listjava.lang.IllegalArgumentException - if no primitive type is specified