| Modifier and Type | Field and Description |
|---|---|
static ListFactory |
Factories.arrayListFactory
Returns a
ListFactory that generates
ArrayLists. |
static ListFactory |
Factories.linkedListFactory
A
ListFactory that generates LinkedLists. |
| Modifier and Type | Method and Description |
|---|---|
static <V> ListFactory<V> |
Factories.arrayListFactory() |
static <V> ListFactory<V> |
Factories.linkedListFactory() |
static <V> ListFactory<V> |
Factories.synchronizedListFactory(ListFactory<V> lf)
Returns a
ListFactory that generates synchronized
(thread-safe) Lists. |
| Modifier and Type | Method and Description |
|---|---|
static <V> ListFactory<V> |
Factories.synchronizedListFactory(ListFactory<V> lf)
Returns a
ListFactory that generates synchronized
(thread-safe) Lists. |
| Constructor and Description |
|---|
LinearSet(ListFactory<E> lf)
|
LinearSet(ListFactory<E> lf,
int capacity)
Creates an empty
LinearSet with a given capacity,
using a List generated by lf as the
backing store. |
LinearSet(ListFactory<E> lf,
java.util.Set<? extends E> set)
Creates an empty
LinearSet, using a
List generated by lf as the backing
store, and fills it with the elements of set. |
Copyright (c) 2006 C. Scott Ananian