ptolemy.domains.sdf.lib
Class Autocorrelation.OutputTypeTerm

java.lang.Object
  extended by ptolemy.data.type.MonotonicFunction
      extended by ptolemy.domains.sdf.lib.Autocorrelation.OutputTypeTerm
All Implemented Interfaces:
InequalityTerm
Enclosing class:
Autocorrelation

private class Autocorrelation.OutputTypeTerm
extends MonotonicFunction

Monotonic function that determines the type of the output port.


Field Summary
private  ArrayType _arrayType
          The array type with element types matching the typeable.
 
Constructor Summary
private Autocorrelation.OutputTypeTerm()
           
 
Method Summary
private  ArrayType _getArrayTypeRaw()
          Get an array type with element type matching the type of the associated typeable.
private  ArrayType _getArrayTypeRaw(int length)
          Get an array type with element type matching the type of the associated typeable.
 java.lang.Object getValue()
          Return an array type with element types given by the associated typeable.
 InequalityTerm[] getVariables()
          Return an array containing the type term for the actor's input port.
 
Methods inherited from class ptolemy.data.type.MonotonicFunction
getAssociatedObject, getVerboseString, initialize, isSettable, isValueAcceptable, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_arrayType

private ArrayType _arrayType
The array type with element types matching the typeable.

Constructor Detail

Autocorrelation.OutputTypeTerm

private Autocorrelation.OutputTypeTerm()
Method Detail

getValue

public java.lang.Object getValue()
                          throws IllegalActionException
Return an array type with element types given by the associated typeable.

Specified by:
getValue in interface InequalityTerm
Specified by:
getValue in class MonotonicFunction
Returns:
An ArrayType.
Throws:
IllegalActionException - If the type of the associated typeable cannot be determined.
See Also:
MonotonicFunction.setValue(Object)

getVariables

public InequalityTerm[] getVariables()
Return an array containing the type term for the actor's input port.

Specified by:
getVariables in interface InequalityTerm
Specified by:
getVariables in class MonotonicFunction
Returns:
An array of InequalityTerm.

_getArrayTypeRaw

private ArrayType _getArrayTypeRaw()
                            throws IllegalActionException
Get an array type with element type matching the type of the associated typeable.

Returns:
An array type for the associated typeable.
Throws:
IllegalActionException - If the type of the typeable cannot be determined.

_getArrayTypeRaw

private ArrayType _getArrayTypeRaw(int length)
                            throws IllegalActionException
Get an array type with element type matching the type of the associated typeable.

Returns:
An array type for the associated typeable.
Throws:
IllegalActionException - If the type of the typeable cannot be determined.