public class Text extends Scalar
DataImpl.Syncher
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE
Constructor and Description |
---|
Text(String value)
construct a Text object with the generic TEXT type (TextType.Generic)
|
Text(TextType type)
construct a Text object with the missing value
|
Text(TextType type,
String value)
construct a Text object
|
Modifier and Type | Method and Description |
---|---|
Data |
binary(Data data,
int op,
int sampling_mode,
int error_mode)
Pointwise binary operation between this and data.
|
int |
compareTo(Object object)
Compares this Text to another.
|
DataShadow |
computeRanges(ShadowType type,
DataShadow shadow)
Recursive version of computeRanges(), called down through
Data object tree.
|
boolean |
equals(Object obj)
Indicates if this Text is semantically identical to an object.
|
String |
getValue() |
boolean |
isMissing() |
String |
longString(String pre) |
String |
toString() |
Data |
unary(int op,
int sampling_mode,
int error_mode)
Pointwise unary operation applied to this.
|
addReference, clone, removeReference
__add__, __add__, __div__, __div__, __mod__, __mod__, __mul__, __mul__, __neg__, __pow__, __pow__, __radd__, __rdiv__, __rmod__, __rmul__, __rpow__, __rsub__, __sub__, __sub__, abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, main, max, max, min, min, multiply, multiply, negate, negate, notifyReferences, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary
public Text(TextType type) throws VisADException
VisADException
public Text(TextType type, String value) throws VisADException
VisADException
public Text(String value)
public String getValue()
public boolean isMissing()
public Data binary(Data data, int op, int sampling_mode, int error_mode) throws VisADException
DataImpl
binary
in interface Data
binary
in class DataImpl
data
- other Data operand for binary operationop
- may be Data.ADD, Data.SUBTRACT, etc; these include all
binary operations defined for Java primitive data typessampling_mode
- may be Data.NEAREST_NEIGHBOR or
Data.WEIGHTED_AVERAGEerror_mode
- may be Data.INDEPENDENT, Data.DEPENDENT or
Data.NO_ERRORS;VisADException
- a VisAD error occurredpublic Data unary(int op, int sampling_mode, int error_mode) throws VisADException
DataImpl
unary
in interface Data
unary
in class DataImpl
op
- may be Data.ABS, Data.ACOS, etc; these include all
unary operations defined for Java primitive data typessampling_mode
- may be Data.NEAREST_NEIGHBOR or
Data.WEIGHTED_AVERAGEerror_mode
- may be Data.INDEPENDENT, Data.DEPENDENT or
Data.NO_ERRORS;VisADException
- a VisAD error occurredpublic DataShadow computeRanges(ShadowType type, DataShadow shadow) throws VisADException
Data
type
- ShadowType generated for MathType of thisshadow
- DataShadow instance whose contained double[][]
array and animation sampling Set are modified
according to RealType values in this, and used
as return valueVisADException
- a VisAD error occurredpublic String toString()
public String longString(String pre)
longString
in interface Data
longString
in class DataImpl
pre
- String added to start of each linepublic int compareTo(Object object)
object
- The other Text to compare against. It shall be
a Text.public boolean equals(Object obj)
equals
in interface ScalarIface
equals
in class Scalar
obj
- The object.true
if and only if this Text
is semantically identical to the object.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.