fork download
  1. class Employee {}
  2.  
  3. abstract class Test<T> {
  4.  
  5. public abstract String write(T t);
  6.  
  7. public static final Test<Employee> EMPLOYEE = new Test<Employee>() {
  8. @Override
  9. public String write(Employee e) {
  10. return "result";
  11. }
  12. };
  13.  
  14. public static void main(String[] args) {
  15. }
  16. }
Success #stdin #stdout 0.04s 2184192KB
stdin
Standard input is empty
stdout
Standard output is empty