public class BooleanVariableAdapter extends VariableAdapter
Instances are immutable.
Modifier and Type | Method and Description |
---|---|
static BooleanVariableAdapter |
booleanVariableAdapter(dods.dap.DBoolean var,
dods.dap.DAS das)
Returns an instance of this class corresponding to a DODS variable.
|
DataImpl |
data(dods.dap.DBoolean var,
boolean copy)
Returns a VisAD data object corresponding to a DODS
DBoolean . |
MathType |
getMathType()
Returns the VisAD
MathType of this instance. |
SimpleSet[] |
getRepresentationalSets(boolean copy)
|
data, data, data, data, data, data, data, data, data, data, data, data, data, data, mathType
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName
public static BooleanVariableAdapter booleanVariableAdapter(dods.dap.DBoolean var, dods.dap.DAS das) throws VisADException
var
- The DODS variable.das
- The DODS DAS in which the attribute
table for the DODS variable is embedded.VisADException
- VisAD failure.public MathType getMathType()
MathType
of this instance.getMathType
in class VariableAdapter
public SimpleSet[] getRepresentationalSets(boolean copy)
Set
s that will be used to represent this
instances data values in the range of a VisAD FlatField
.getRepresentationalSets
in class VariableAdapter
copy
- If true, then the data values are copied.public DataImpl data(dods.dap.DBoolean var, boolean copy)
DBoolean
.
The DBoolean must be compatible with the the DBoolean used to construct
this instance. In particular, the name of the DBoolean used to construct
this instance will be used in naming the returned VisAD Real
.data
in class VariableAdapter
var
- The DODS variable. The variable must be
compatible with the the variable used to
construct this instance.copy
- If true, then data values are copied.Real
.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.