opendap.dap
Class UInt16PrimitiveVector

java.lang.Object
  extended by opendap.dap.PrimitiveVector
      extended by opendap.dap.Int16PrimitiveVector
          extended by opendap.dap.UInt16PrimitiveVector
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ClientIO

public class UInt16PrimitiveVector
extends Int16PrimitiveVector

A vector of unsigned ints.

Version:
$Revision: 23881 $
Author:
ndp
See Also:
PrimitiveVector, Serialized Form

Constructor Summary
UInt16PrimitiveVector(BaseType var)
          Constructs a new UInt16PrimitiveVector.
 
Method Summary
 void printSingleVal(java.io.PrintWriter os, int index)
          Prints the value of a single variable in this vector.
 void printVal(java.io.PrintWriter os, java.lang.String space)
          Prints the value of all variables in this vector.
 
Methods inherited from class opendap.dap.Int16PrimitiveVector
clone, deserialize, externalize, externalize, getInternalStorage, getLength, getValue, setInternalStorage, setLength, setValue, subset
 
Methods inherited from class opendap.dap.PrimitiveVector
getTemplate, printDecl, printDecl
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UInt16PrimitiveVector

public UInt16PrimitiveVector(BaseType var)
Constructs a new UInt16PrimitiveVector.

Method Detail

printVal

public void printVal(java.io.PrintWriter os,
                     java.lang.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:
printVal in class Int16PrimitiveVector
Parameters:
os - the PrintWriter on which to print the value.
space - this value is passed to the printDecl method, and controls the leading spaces of the output.
See Also:
BaseType.printVal(PrintWriter, String, boolean)

printSingleVal

public void printSingleVal(java.io.PrintWriter os,
                           int index)
Prints the value of a single variable in this vector. method is used by DArray's printVal method.

Overrides:
printSingleVal in class Int16PrimitiveVector
Parameters:
os - the PrintWriter on which to print the value.
index - the index of the variable to print.
See Also:
DArray.printVal(PrintWriter, String, boolean)