|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdanbikel.util.FixedSizeListFactory
public class FixedSizeListFactory
A factory for FixedSizeList
instances.
FixedSizeSingletonList
,
FixedSizeArrayList
Method Summary | |
---|---|
static FixedSizeList |
newList(Collection c)
Returns a new FixedSizeList instance whose elements will be that of
the specified collection. |
static FixedSizeList |
newList(int size)
Returns a new FixedSizeList instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FixedSizeList newList(int size)
FixedSizeList
instance.
size
- the size of the new list
FixedSizeList
instancepublic static FixedSizeList newList(Collection c)
FixedSizeList
instance whose elements will be that of
the specified collection.
c
- the collection whose elements are to be included in the fixed-size
list created by this method
FixedSizeList
instance whose elements will be that of
the specified collection
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |