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