org.onetwo.common.delegate.DelegateFactory Maven / Gradle / Ivy
package org.onetwo.common.delegate;
final public class DelegateFactory {
public static DelegateMethodImpl create(Object delegate, String method, Class>...argTypes){
DelegateMethodImpl delegateObject = new DelegateMethodImpl(delegate, method, argTypes);
return delegateObject;
}
public static MutiDelegate define(Class>...argTypes){
MutiDelegate delegate = new MutiDelegate(argTypes);
return delegate;
}
private DelegateFactory(){};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy