org.apache.ws.jaxme.js.pattern
public class MethodKey extends Object implements Comparable
Constructor Summary | |
---|---|
MethodKey(JavaMethod pMethod) Creates a new instance of MethodKey. |
Method Summary | |
---|---|
int | compareTo(Object o) Compares this GeneratedMethod to the given GeneratedMethod |
boolean | equals(Object o) Returns whether this method key equals the object |
int | hashCode() |
Compares this GeneratedMethod to the given GeneratedMethod o
.
More precise, compares the method name, the number of parameters
and the class names of the parameters, in that order.
Throws: ClassCastException The object o is not an instance of MethodKey.
Returns whether this method key equals the object o
.
This is the case, if o != null
,
o instanceof MethodKey
,
and compareTo(o) == 0
.