|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.dispatch.DBEntry<M>
public class DBEntry<M>
DBEntry is a generic Class that wraps a 'method' (or any kind of related signature class) for inclusion in a MethodDB list.
Constructor Summary | |
---|---|
DBEntry(M m,
java.lang.String n,
java.lang.Class<?> ret,
java.lang.Class<?>[] args)
Create a DBEntry from an M, a Return Type and a List of Argument Types |
Method Summary | |
---|---|
java.lang.Class<?> |
arg(int i)
Return the ith argument of this entry |
boolean |
equals(java.lang.Object o)
Is this DBEntry equal to the given Object? |
M |
getMethod()
Get the Method that this DBEntry Holds |
int |
hashCode()
Return this DBEntry's HashCode |
int |
numArgs()
Return the number of arguments for this entry |
java.lang.Class<?> |
retType()
Return the return type of this entry |
java.lang.String |
toString()
Return the String representation of this DBEntry |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBEntry(M m, java.lang.String n, java.lang.Class<?> ret, java.lang.Class<?>[] args)
Method Detail |
---|
public M getMethod()
public int numArgs()
public java.lang.Class<?> arg(int i)
public java.lang.Class<?> retType()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |