|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nodal.util.IntSeqUtil
A utility class for providing the IntSeq interface to a variety of sources.
| Constructor Summary | |
IntSeqUtil()
|
|
| Method Summary | |
static IntSeq |
create(int i)
Create a IntSeq interface for a single int.. |
static IntSeq |
create(int[] a)
Create an IntSeq interface for an int[] array. |
static IntSeq |
create(java.lang.Number n)
Create an IntSeq interface wrapper around Number (sequence of one). |
static IntSeq |
create(java.lang.Object v)
Create an IntSeq interface for an arbitrary Object. |
static IntSeq |
create(java.util.Vector v)
Create an IntSeq 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 IntSeqUtil()
| Method Detail |
public static final IntSeq create(java.lang.Object v)
throws ConstraintFailure
ConstraintFailurepublic static final IntSeq create(int[] a)
public static final IntSeq create(java.util.Vector v)
throws TypeConstraintFailure
Tested on creation for validity.
TypeConstraintFailurepublic static final IntSeq create(int i)
public static final IntSeq create(java.lang.Number n)
throws TypeConstraintFailure
TypeConstraintFailure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||