public abstract class Dap4Util extends Object
| Constructor and Description |
|---|
Dap4Util() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convertVector(DapType dsttype,
DapType srctype,
Object src)
Convert an array of one type of values to another type
|
static 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 Object createVector(AtomicType atype, long count) throws DataException
DataExceptionpublic static Object convertVector(DapType dsttype, DapType srctype, Object src) throws DataException
dsttype - target typesrctype - source typesrc - array of values to convertDataExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.