interface IntFunction { int apply(T t); } class A implements IntFunction { public int apply(String inS) { return 0; } }