Package opendap.dap
Class UInt16PrimitiveVector
- java.lang.Object
-
- opendap.dap.DAPNode
-
- opendap.dap.PrimitiveVector
-
- opendap.dap.Int16PrimitiveVector
-
- opendap.dap.UInt16PrimitiveVector
-
- All Implemented Interfaces:
Serializable,Cloneable,ClientIO
public class UInt16PrimitiveVector extends Int16PrimitiveVector
A vector of unsigned ints.- See Also:
PrimitiveVector, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class opendap.dap.DAPNode
DAPNode.CloneMap
-
-
Field Summary
-
Fields inherited from class opendap.dap.DAPNode
_nameClear, _nameEncoded, log
-
-
Constructor Summary
Constructors Constructor Description UInt16PrimitiveVector(BaseType var)Constructs a newUInt16PrimitiveVector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintSingleVal(PrintWriter os, int index)Prints the value of a single variable in this vector.voidprintVal(PrintWriter os, String space)Prints the value of all variables in this vector.-
Methods inherited from class opendap.dap.Int16PrimitiveVector
cloneDAG, deserialize, externalize, externalize, getInternalStorage, getLength, getValue, printVal, setInternalStorage, setLength, setValue, subset
-
Methods inherited from class opendap.dap.PrimitiveVector
getTemplate, getTypeName, printDecl, printDecl
-
Methods inherited from class opendap.dap.DAPNode
clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setClearName, setEncodedName, setParent, setProject, setProject, setProjected
-
-
-
-
Constructor Detail
-
UInt16PrimitiveVector
public UInt16PrimitiveVector(BaseType var)
Constructs a newUInt16PrimitiveVector.
-
-
Method Detail
-
printVal
public void printVal(PrintWriter os, String space)
Prints the value of all variables in this vector. This method is primarily intended for debugging OPeNDAP applications and text-based clients such as geturl.- Overrides:
printValin classInt16PrimitiveVector- Parameters:
os- thePrintWriteron which to print the value.space- this value is passed to theprintDeclmethod, and controls the leading spaces of the output.- See Also:
BaseType.printVal(PrintWriter, String, boolean)
-
printSingleVal
public void printSingleVal(PrintWriter os, int index)
Prints the value of a single variable in this vector. method is used byDArray'sprintValmethod.- Overrides:
printSingleValin classInt16PrimitiveVector- Parameters:
os- thePrintWriteron which to print the value.index- the index of the variable to print.- See Also:
DArray.printVal(PrintWriter, String, boolean)
-
-