public abstract class Dap4Util
extends java.lang.Object
| Constructor and Description |
|---|
Dap4Util() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
convertVector(DapType dsttype,
DapType srctype,
java.lang.Object src)
Convert an array of one type of values to another type
|
static java.lang.Object |
createVector(AtomicType atype,
long count) |
static int |
daptypeSize(AtomicType atomtype)
Conmpute the size, in databuffer,
of the daptype wrt to a serialization;
0 if undefined.
|
public static int daptypeSize(AtomicType atomtype)
atomtype - The type of interestpublic static java.lang.Object createVector(AtomicType atype, long count) throws DataException
DataExceptionpublic static java.lang.Object convertVector(DapType dsttype, DapType srctype, java.lang.Object src) throws DataException
dsttype - target typesrctype - source typesrc - array of values to convertDataException