Package org.aksw.commons.util.reflect
Class MultiMethodContainer<T>
- java.lang.Object
-
- org.aksw.commons.util.reflect.MultiMethodContainer<T>
-
public class MultiMethodContainer<T> extends Object
A container where multiple objects/classes can register their methods. The invoke method will then search for the most appropriate method. The generic indicates the return type candidate methods must be covariant with User: raven Date: 6/11/11 Time: 9:33 AM What I want at some point in time is some kind of a rule container: "Search for the method in this object, if in some other no match was found" or "If some condition is satisfied, (e.g. function name equals "foo") then let this method handle that
-
-
Constructor Summary
Constructors Constructor Description MultiMethodContainer()
-