Package ptolemy.data.type
Class MatrixType.FixMatrixType
- java.lang.Object
-
- ptolemy.data.type.StructuredType
-
- ptolemy.data.type.MatrixType
-
- ptolemy.data.type.MatrixType.FixMatrixType
-
- All Implemented Interfaces:
java.lang.Cloneable,Type
- Enclosing class:
- MatrixType
public static class MatrixType.FixMatrixType extends MatrixType
The fix matrix data type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.data.type.MatrixType
MatrixType.BooleanMatrixType, MatrixType.ComplexMatrixType, MatrixType.DoubleMatrixType, MatrixType.FixMatrixType, MatrixType.IntMatrixType, MatrixType.LongMatrixType
-
-
Field Summary
-
Fields inherited from class ptolemy.data.type.StructuredType
MAXDEPTHBOUND
-
Fields inherited from interface ptolemy.data.type.Type
HASH_INVALID
-
-
Constructor Summary
Constructors Constructor Description FixMatrixType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tokenconvert(Token token)If the argument is an instance of this class or a subclass, then return the token.-
Methods inherited from class ptolemy.data.type.MatrixType
_compare, _getRepresentative, _greatestLowerBound, _leastUpperBound, clone, equals, getElementType, getMatrixTypeForElementType, getTokenClass, hashCode, initialize, isAbstract, isCompatible, isConstant, isInstantiable, isSubstitutionInstance, toString, updateType
-
Methods inherited from class ptolemy.data.type.StructuredType
add, depth, divide, getTypeHash, modulo, multiply, one, subtract, zero
-
-
-
-
Method Detail
-
convert
public Token convert(Token token) throws IllegalActionException
Description copied from class:MatrixTypeIf the argument is an instance of this class or a subclass, then return the token. Otherwise, throw an exception.- Specified by:
convertin interfaceType- Overrides:
convertin classMatrixType- Parameters:
token- A token.- Returns:
- An instance of this class.
- Throws:
IllegalActionException- If the argument is not an instance of this class.
-
-