ptolemy.data.type
Class SizedMatrixType.BooleanMatrixType

java.lang.Object
  extended byptolemy.data.type.StructuredType
      extended byptolemy.data.type.SizedMatrixType
          extended byptolemy.data.type.SizedMatrixType.BooleanMatrixType
All Implemented Interfaces:
java.io.Serializable, Type
Enclosing class:
SizedMatrixType

public static class SizedMatrixType.BooleanMatrixType
extends SizedMatrixType

The boolean matrix data type

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class ptolemy.data.type.SizedMatrixType
SizedMatrixType.BooleanMatrixType, SizedMatrixType.ComplexMatrixType, SizedMatrixType.DoubleMatrixType, SizedMatrixType.FixMatrixType, SizedMatrixType.IntMatrixType, SizedMatrixType.LongMatrixType
 
Field Summary
 
Fields inherited from interface ptolemy.data.type.Type
HASH_INVALID, HASH_MAX
 
Constructor Summary
SizedMatrixType.BooleanMatrixType(int rows, int columns)
           
 
Method Summary
 StructuredType _getRepresentative()
          Return a static instance of this structured type.
 Token convert(Token token)
          Convert the specified token to a token having the type represented by this object.
 
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 ptolemy.data.type.StructuredType
getTypeHash
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SizedMatrixType.BooleanMatrixType

public SizedMatrixType.BooleanMatrixType(int rows,
                                         int columns)
Method Detail

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

public 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.