|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.codegen.kernel.CodeStream.Signature
public static class CodeStream.Signature
Inner class for representing a code block signature.
Field Summary | |
---|---|
java.lang.String |
functionName
The code block name. |
int |
numParameters
The number of parameters. |
Constructor Summary | |
---|---|
private |
CodeStream.Signature(java.lang.String functionName,
int numParameters)
Constructor for a code block signature. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object object)
Compare this signature to the given object by comparing their string representation lexicographically. |
boolean |
equals(java.lang.Object object)
Return true if the given object is equal to this signature. |
int |
hashCode()
Return the hash code for this channel. |
java.lang.String |
toString()
Return the string format of this code block signature. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String functionName
public int numParameters
Constructor Detail |
---|
private CodeStream.Signature(java.lang.String functionName, int numParameters) throws IllegalActionException
functionName
- The given code block name.numParameters
- The number of parameters.
IllegalActionException
- Thrown if the given name is null,
or the number of parameters is less than zero.Method Detail |
---|
public int compareTo(java.lang.Object object)
toString()
).
compareTo
in interface java.lang.Comparable
object
- The given object.
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- The given object.
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |