|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtiger.framework.ReadOnlyArrayFactory
SequenceFactory
instead.
@Deprecated public final class ReadOnlyArrayFactory
Returns instances of ReadOnlyArray
which are backed by a raw array that cannot be modified.
SequenceFactory
Method Summary | ||
---|---|---|
static
|
newReadOnlyArray(E... a)
Deprecated. Use SequenceFactory.newSequence(E...) instead. |
|
static
|
newReadOnlyArray(List<E> l)
Deprecated. Returns a new instance of ReadOnlyArray . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static <E> ReadOnlyArray<E> newReadOnlyArray(E... a) throws NullPointerException
SequenceFactory.newSequence(E...)
instead.
ReadOnlyArray
.
a
- The array that backs the returned ReadOnlyArray
.
ReadOnlyArray
.
NullPointerException
- If a
is null
.public static <E> ReadOnlyArray<E> newReadOnlyArray(List<E> l) throws NullPointerException
ReadOnlyArray
.
l
- The List
that backs the returned ReadOnlyArray
.
ReadOnlyArray
.
NullPointerException
- If l
is null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |