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, validateNameaddTimeAlias, findScalarType, guessMaps, main, prettyString, stringToType, toStringpublic static final TextType Generic
public TextType(String name) throws VisADException
VisADExceptionpublic boolean equals(Object type)
ScalarTypeequals in class ScalarTypetype - 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)
MathTypeequalsExceptName in class MathTypepublic boolean equalsExceptNameButUnits(MathType type) throws VisADException
equalsExceptNameButUnits in class MathTypeVisADExceptionpublic MathType cloneDerivative(RealType d_partial) throws VisADException
cloneDerivative in class MathTypeVisADExceptionpublic MathType binary(MathType type, int op, Vector names) throws VisADException
binary in class MathTypeVisADExceptionpublic MathType unary(int op, Vector names) throws VisADException
unary in class MathTypeVisADExceptionpublic static TextType getTextType(String name)
public static TextType getTextTypeByName(String name)
public String prettyString(int indent)
prettyString in class MathTypepublic Data missingData() throws VisADException
MathTypemissingData in class MathTypeVisADExceptionpublic ShadowType buildShadowType(DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
buildShadowType in class MathTypeVisADExceptionRemoteExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.