|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfun.parsec.ArrayFactories
public final class ArrayFactories
Provide some standard ArrayFactory implementations.
Constructor Summary | |
---|---|
ArrayFactories()
|
Method Summary | ||
---|---|---|
static ArrayFactory<java.lang.Object> |
defaultFactory()
gets and instance of ArrayFactory that simply create Object[]. |
|
static
|
typedFactory(java.lang.Class<E> etype)
gets and instanceof ArrayFactory that creates T[] for a given element type T. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayFactories()
Method Detail |
---|
public static ArrayFactory<java.lang.Object> defaultFactory()
public static <E> ArrayFactory<E> typedFactory(java.lang.Class<E> etype)
etype
- the element type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |