@Test public void originTest() { System.out.println(gen.multiply(1, 1)); System.out.println(gen.multiply(1d, 1d)); System.out.println(gen.multiply(1f, 1f)); System.out.println(Math.sqrt((int) gen.multiply('1', '1'))); }
<T> T multiply(T a) { return a; }
Generic { <T> T multiply(T a) { return a; } }
Generic { <T> T multiply(T a) { return a; }  }
Generic { <T> T multiply(T a) { return a; }   }
Generic { <T> T multiply(T a) { return a; }    }