org.oXML.type
Class FunctionKey

java.lang.Object
  extended byorg.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


Field Summary
protected  int length
           
protected  Name name
           
 
Constructor Summary
FunctionKey(Name name, int length)
           
 
Method Summary
 boolean equals(FunctionKey other)
           
 boolean equals(java.lang.Object other)
           
 Name getName()
           
 int hashCode()
          puts all functions with equal name in the same bucket
 boolean matches(FunctionKey other)
          a match is determined on name and number of parameters (not parameter types)
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected Name name

length

protected int length
Constructor Detail

FunctionKey

public FunctionKey(Name name,
                   int length)
Method Detail

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()