All Downloads are FREE. Search and download functionalities are using the official Maven repository.

chaschev.lang.ObjectMethod Maven / Gradle / Ivy

package chaschev.lang;

import com.google.common.base.Function;
import com.google.common.base.Supplier;

/**
* @author Andrey Chaschev [email protected]
*/
public abstract class ObjectMethod implements Function, Supplier {
    public abstract T create(Object... params);

    @Override
    public final T apply(Object... input) {
        return create(input);
    }

    @Override
    public T get() {
        return create();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy