visad
Class SetType
- java.lang.Object
-
- visad.MathType
-
- visad.SetType
-
- All Implemented Interfaces:
- java.io.Serializable
public class SetType extends MathType
SetType is the VisAD data type for subsets of R^n for n>0.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SetType(MathType type)type must be a RealType or a RealTupleType
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MathTypebinary(MathType type, int op, java.util.Vector names)ShadowTypebuildShadowType(DataDisplayLink link, ShadowType parent)MathTypecloneDerivative(RealType d_partial)booleanequals(java.lang.Object type)ScalarTypes are equal if they have the same name; TupleTypes are equal if their components are equal; FunctionTypes are equal if their domains and ranges are equalbooleanequalsExceptName(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 equalbooleanequalsExceptNameButUnits(MathType type)RealTupleTypegetDomain()if the domain passed to constructor was a RealType, getDomain returns a RealTupleType with that RealType as its single componentDatamissingData()returns a missing Data object for any MathTypejava.lang.StringprettyString(int indent)MathTypeunary(int op, java.util.Vector names)-
Methods inherited from class visad.MathType
addTimeAlias, findScalarType, guessMaps, main, prettyString, stringToType, toString
-
-
-
-
Constructor Detail
-
SetType
public SetType(MathType type) throws VisADException
type must be a RealType or a RealTupleType- Throws:
VisADException
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object type)
Description copied from class:MathTypeScalarTypes are equal if they have the same name; TupleTypes are equal if their components are equal; FunctionTypes are equal if their domains and ranges are equal
-
equalsExceptName
public boolean equalsExceptName(MathType type)
Description copied from class:MathTypethis 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- Specified by:
equalsExceptNamein classMathType
-
equalsExceptNameButUnits
public boolean equalsExceptNameButUnits(MathType type)
- Specified by:
equalsExceptNameButUnitsin classMathType
-
cloneDerivative
public MathType cloneDerivative(RealType d_partial) throws VisADException
- Specified by:
cloneDerivativein classMathType- Throws:
VisADException
-
binary
public MathType binary(MathType type, int op, java.util.Vector names) throws VisADException
- Specified by:
binaryin classMathType- Throws:
VisADException
-
unary
public MathType unary(int op, java.util.Vector names) throws VisADException
- Specified by:
unaryin classMathType- Throws:
VisADException
-
prettyString
public java.lang.String prettyString(int indent)
- Specified by:
prettyStringin classMathType
-
missingData
public Data missingData() throws VisADException
Description copied from class:MathTypereturns a missing Data object for any MathType- Specified by:
missingDatain classMathType- Throws:
VisADException
-
getDomain
public RealTupleType getDomain()
if the domain passed to constructor was a RealType, getDomain returns a RealTupleType with that RealType as its single component
-
buildShadowType
public ShadowType buildShadowType(DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
- Specified by:
buildShadowTypein classMathType- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
DMelt 3.0 © DataMelt by jWork.ORG