public class TextType extends ScalarType
Constructor and Description |
---|
TextType(String name)
name of type (two TextTypes are equal if their names are equal)
|
Modifier and Type | Method and Description |
---|---|
MathType |
binary(MathType type,
int op,
Vector names) |
ShadowType |
buildShadowType(DataDisplayLink link,
ShadowType parent) |
MathType |
cloneDerivative(RealType d_partial) |
boolean |
equals(Object type)
Indicates if this ScalarType is the same as another object.
|
boolean |
equalsExceptName(MathType type)
this is useful for determining compatibility of
Data objects for binary mathematical operations;
any RealTypes are equal; any TextTypes are equal;
TupleTypes are equal if their components are equal;
FunctionTypes are equal if their domains and ranges
are equal
|
boolean |
equalsExceptNameButUnits(MathType type) |
static TextType |
getTextType(String name)
create a new TextType, or return it if it already exists
|
static TextType |
getTextTypeByName(String name)
return any TextType constructed in this JVM with name,
or null
|
Data |
missingData()
returns a missing Data object for any MathType
|
String |
prettyString(int indent) |
MathType |
unary(int op,
Vector names) |
alias, compareTo, getAlias, getName, getNameWithBlanks, getOriginalName, getScalarTypeByName, hashCode, readResolve, validateName
addTimeAlias, findScalarType, guessMaps, main, prettyString, stringToType, toString
public static final TextType Generic
public TextType(String name) throws VisADException
VisADException
public boolean equals(Object type)
ScalarType
equals
in class ScalarType
type
- The other object.true
if and only if the other object is a
ScalarType and compares equal to this ScalarType.public boolean equalsExceptName(MathType type)
MathType
equalsExceptName
in class MathType
public boolean equalsExceptNameButUnits(MathType type) throws VisADException
equalsExceptNameButUnits
in class MathType
VisADException
public MathType cloneDerivative(RealType d_partial) throws VisADException
cloneDerivative
in class MathType
VisADException
public MathType binary(MathType type, int op, Vector names) throws VisADException
binary
in class MathType
VisADException
public MathType unary(int op, Vector names) throws VisADException
unary
in class MathType
VisADException
public static TextType getTextType(String name)
public static TextType getTextTypeByName(String name)
public String prettyString(int indent)
prettyString
in class MathType
public Data missingData() throws VisADException
MathType
missingData
in class MathType
VisADException
public ShadowType buildShadowType(DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
buildShadowType
in class MathType
VisADException
RemoteException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.