Package ptolemy.data.type
Class MatrixType.LongMatrixType
- java.lang.Object
-
- ptolemy.data.type.StructuredType
-
- ptolemy.data.type.MatrixType
-
- ptolemy.data.type.MatrixType.LongMatrixType
-
- All Implemented Interfaces:
java.lang.Cloneable
,Type
- Enclosing class:
- MatrixType
public static class MatrixType.LongMatrixType extends MatrixType
The long 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 LongMatrixType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
convert(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:MatrixType
If the argument is an instance of this class or a subclass, then return the token. Otherwise, throw an exception.- Specified by:
convert
in interfaceType
- Overrides:
convert
in classMatrixType
- Parameters:
token
- A token.- Returns:
- An instance of this class.
- Throws:
IllegalActionException
- If the argument is not an instance of this class.
-
-