org.ozoneDB.core
Class MethodKey
java.lang.Object
org.ozoneDB.core.MethodKey
- All Implemented Interfaces:
- java.lang.Comparable
- public final class MethodKey
- extends java.lang.Object
- implements java.lang.Comparable
Objects of this class are the keys in the method cache table of the
AbstractObjectContainer
. This class implements the way we map from
class+methodName+sig to the actual method. This is very important for the
overall peformance of ozone. Besides this class is used to sort method
arrays.
- Version:
- $Revision: 1.5 $Date: 2003/11/01 18:34:36 $
- Author:
- SMB
Field Summary |
protected java.lang.String |
className
|
protected java.lang.reflect.Method |
method
|
protected java.lang.String |
methodName
|
protected java.lang.String |
sig
|
Constructor Summary |
MethodKey(java.lang.String _className,
java.lang.String _methodName,
java.lang.String _sig)
|
MethodKey(java.lang.String _className,
java.lang.String _methodName,
java.lang.String _sig,
java.lang.reflect.Method _method)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
methodName
protected java.lang.String methodName
sig
protected java.lang.String sig
className
protected java.lang.String className
method
protected java.lang.reflect.Method method
MethodKey
public MethodKey(java.lang.String _className,
java.lang.String _methodName,
java.lang.String _sig)
MethodKey
public MethodKey(java.lang.String _className,
java.lang.String _methodName,
java.lang.String _sig,
java.lang.reflect.Method _method)
method
public java.lang.reflect.Method method()
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object obj)
toString
public java.lang.String toString()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.