|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.MathType visad.ScalarType visad.TextType
public class TextType
TextType is the VisAD scalar data type for text string variables.
Field Summary | |
---|---|
static TextType |
Generic
|
Constructor Summary | |
---|---|
TextType(String name)
name of type (two TextTypes are equal if their names are equal) |
Method Summary | |
---|---|
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)
|
Methods inherited from class visad.ScalarType |
---|
alias, compareTo, getAlias, getName, getNameWithBlanks, getOriginalName, getScalarTypeByName, hashCode, readResolve, validateName |
Methods inherited from class visad.MathType |
---|
addTimeAlias, findScalarType, guessMaps, main, prettyString, stringToType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TextType Generic
Constructor Detail |
---|
public TextType(String name) throws VisADException
VisADException
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |