Java 7 I have the following interface: public interface SqlOperator{ public String apply(Object o); /** * @return an operator representing the set defined * by inversing the image of {@this operator}. */ public SqlOperator not(); //Some other methods } And I have a few its implementations that look like: public class Foo implements SqlOperator{ public […]
The post Code reusing with anonymous class in Java appeared first on BlogoSfera.