edu.neu.ccs.demeterf.perform
Class MethodDB<M>
java.lang.Object
edu.neu.ccs.demeterf.perform.MethodDB<M>
public class MethodDB<M>
- extends java.lang.Object
MethodDB is a List of DBEntries. Includes selection functions
and a few creators.
Method Summary |
static MethodDB<java.lang.reflect.Constructor<?>> |
createConstrDB(java.lang.Class<?> c)
|
static MethodDB<java.lang.reflect.Method> |
createMethodDB(java.lang.Class<?> c,
java.lang.String name)
|
DBEntry<M> |
matchEntryFast(java.lang.Class<?>[] args,
int len)
!Quickly! return the most specific (first) Match from the entries. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodDB
public MethodDB(List<DBEntry<M>> m)
createMethodDB
public static MethodDB<java.lang.reflect.Method> createMethodDB(java.lang.Class<?> c,
java.lang.String name)
createConstrDB
public static MethodDB<java.lang.reflect.Constructor<?>> createConstrDB(java.lang.Class<?> c)
matchEntryFast
public DBEntry<M> matchEntryFast(java.lang.Class<?>[] args,
int len)
- !Quickly! return the most specific (first) Match from the entries.
Returns
null
if none is found.