org.apache.velocity.runtime.parser.node
Class ASTMethod.MethodCacheKey

java.lang.Object
  extended by org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey
Enclosing class:
ASTMethod

public static class ASTMethod.MethodCacheKey
extends Object

Internal class used as key for method cache. Combines ASTMethod fields with array of parameter classes. Has public access (and complete constructor) for unit test purposes.


Constructor Summary
ASTMethod.MethodCacheKey(String methodName, Class[] params)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTMethod.MethodCacheKey

public ASTMethod.MethodCacheKey(String methodName,
                                Class[] params)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 2000-2007 The Apache Software Foundation. All Rights Reserved.