|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nodal.util.ShortSeqUtil
A utility class for providing the ShortSeq interface to a variety of sources.
| Constructor Summary | |
ShortSeqUtil()
|
|
| Method Summary | |
static ShortSeq |
create(java.lang.Number n)
Create a ShortSeq interface wrapper around Number (sequence of one). |
static ShortSeq |
create(java.lang.Object v)
Create an ShortSeq interface for an arbitrary Object. |
static ShortSeq |
create(short i)
Create a ShortSeq interface for a single short.. |
static ShortSeq |
create(short[] a)
Create an ShortSeq interface for an short[] array. |
static ShortSeq |
create(java.util.Vector v)
Create an ShortSeq interface for a Vector. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShortSeqUtil()
| Method Detail |
public static final ShortSeq create(java.lang.Object v)
throws ConstraintFailure
ConstraintFailurepublic static final ShortSeq create(short[] a)
public static final ShortSeq create(java.util.Vector v)
throws TypeConstraintFailure
Tested on creation for validity.
TypeConstraintFailurepublic static final ShortSeq create(short i)
public static final ShortSeq create(java.lang.Number n)
throws TypeConstraintFailure
TypeConstraintFailure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||