public final class Int16VectorAdapter extends FloatVectorAdapter
Int16PrimitiveVector
to the
VisAD data-import context.
Instances are immutable.
Constructor and Description |
---|
Int16VectorAdapter(dods.dap.Int16PrimitiveVector vector,
dods.dap.DAS das,
VariableAdapterFactory factory)
Constructs from a DODS vector and a factory for creating DODS variable
adapters.
|
Modifier and Type | Method and Description |
---|---|
float[] |
getFloats(dods.dap.PrimitiveVector vec,
boolean copy)
Returns the numeric values of a compatible DODS primitive vector.
|
griddedSet, setField
getMathType, getRepresentationalSets, getVariableAdapter, isFlat, setField, setField, setField, setField, setField, setField, setField, setField, setField
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName
public Int16VectorAdapter(dods.dap.Int16PrimitiveVector vector, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, RemoteException
vector
- A DODS vector to be adapted.das
- The DODS DAS in which the attribute
table for the DODS vector is embedded.factory
- A factory for creating adapters of DODS
variables.BadFormException
- The DODS information is corrupt.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public float[] getFloats(dods.dap.PrimitiveVector vec, boolean copy)
getFloats
in class FloatVectorAdapter
vec
- A DODS primitive vector that is compatible with
the primitive vector used to construct this
instance.copy
- If true, then a copy is returned.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.