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