ptolemy.data.type
Class SizedMatrixType.LongMatrixType
java.lang.Object
ptolemy.data.type.StructuredType
ptolemy.data.type.SizedMatrixType
ptolemy.data.type.SizedMatrixType.LongMatrixType
- All Implemented Interfaces:
- java.io.Serializable, Type
- Enclosing class:
- SizedMatrixType
- public static class SizedMatrixType.LongMatrixType
- extends SizedMatrixType
The long matrix data type
- See Also:
- Serialized Form
| Methods inherited from class ptolemy.data.type.SizedMatrixType |
_compare, _greatestLowerBound, _leastUpperBound, clone, equals, getColumnCount, getRowCount, getTokenClass, hashCode, initialize, isCompatible, isConstant, isInstantiable, isSubstitutionInstance, toString, updateType |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SizedMatrixType.LongMatrixType
public SizedMatrixType.LongMatrixType(int rows,
int columns)
convert
public Token convert(Token token)
throws IllegalActionException
- Description copied from class:
SizedMatrixType
- Convert the specified token to a token having the type
represented by this object.
- Specified by:
convert in interface Type- Specified by:
convert in class SizedMatrixType
- Parameters:
token - A token.
- Returns:
- A token.
- Throws:
IllegalActionException - If lossless conversion cannot
be done.
_getRepresentative
protected StructuredType _getRepresentative()
- Description copied from class:
SizedMatrixType
- Return a static instance of this structured type. The return
value is used by TypeLattice to represent this type.
- Specified by:
_getRepresentative in class SizedMatrixType
- Returns:
- a StructuredType.