Is there a way to make sure classes implementing an Interface implement static methods?
- by Tobias Kienzler
Frist of all, I read erickson's usefull reply to "Why can’t I define a static method in a Java interface?". This question is not about the "why" but about the "how then?".
So basically I want one Interface to provide both usual methods and e.g. a getSimilarObject method. For (a made up) example
public interface ParametricFunction {
/** @return…