|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopendap.dap.BaseType
opendap.dap.DInt16
opendap.dap.DUInt16
public class DUInt16
Holds a OPeNDAP UInt16
value.
BaseType
,
Serialized FormConstructor Summary | |
---|---|
DUInt16()
Constructs a new DUInt16 . |
|
DUInt16(java.lang.String n)
Constructs a new DUInt16 with name n . |
Method Summary | |
---|---|
java.lang.String |
getTypeName()
Returns the OPeNDAP type name of the class instance as a String . |
PrimitiveVector |
newPrimitiveVector()
Constructs a new UInt16PrimitiveVector . |
void |
printVal(java.io.PrintWriter os,
java.lang.String space,
boolean print_decl_p)
Prints the value of the variable, with its declaration. |
Methods inherited from class opendap.dap.DInt16 |
---|
deserialize, externalize, getValue, setValue |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DUInt16()
DUInt16
.
public DUInt16(java.lang.String n)
DUInt16
with name n
.
n
- the name of the variable.Method Detail |
---|
public PrimitiveVector newPrimitiveVector()
UInt16PrimitiveVector
.
newPrimitiveVector
in class DInt16
UInt16PrimitiveVector
.public java.lang.String getTypeName()
String
.
getTypeName
in class DInt16
String
.public void printVal(java.io.PrintWriter os, java.lang.String space, boolean print_decl_p)
printVal
in class DInt16
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.print_decl_p
- a boolean value controlling whether the
variable declaration is printed as well as the value.BaseType.printVal(PrintWriter, String, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |