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