org.oXML.type
Class FunctionKey
java.lang.Object
org.oXML.type.FunctionKey
- Direct Known Subclasses:
- FunctionCall, VariableFunctionKey
- public class FunctionKey
- extends java.lang.Object
A key for functions that take a fixed number of parameters
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
name
protected Name name
length
protected int length
FunctionKey
public FunctionKey(Name name,
int length)
getName
public Name getName()
matches
public boolean matches(FunctionKey other)
- a match is determined on name and number of parameters
(not parameter types)
equals
public boolean equals(java.lang.Object other)
equals
public boolean equals(FunctionKey other)
hashCode
public int hashCode()
- puts all functions with equal name in the same bucket
toString
public java.lang.String toString()