public abstract class LibTypeFcns
extends java.lang.Object
| Constructor and Description |
|---|
LibTypeFcns() |
| 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 |
newVector(DapType type,
long count) |
static int |
size(DapType type)
Conmpute the size, in databuffer,
of the daptype wrt to a serialization;
0 if undefined.
|
public static int size(DapType type)
type - The type of interestpublic static java.lang.Object newVector(DapType type, long count) throws DapException
DapExceptionpublic static java.lang.Object convertVector(DapType dsttype, DapType srctype, java.lang.Object src) throws DapException
dsttype - target typesrctype - source typesrc - array of values to convertDapException