File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
sources/net.sf.j2s.java.core/src/test Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 33@ SuppressWarnings ("rawtypes" )
44class Test_ClassBase extends Test_ {
55
6+ public static class PTest extends PTest0 <Integer > {
7+
8+ @ Override
9+ public Integer add (String s , Integer n ) {
10+ // TODO Auto-generated method stub
11+ return null ;
12+ }
13+
14+ @ Override
15+ public Integer remove (String s , Integer n ) {
16+ // TODO Auto-generated method stub
17+ return null ;
18+ }
19+
20+ }
21+
22+ public static abstract class PTest0 <N extends Number > implements PTestI <N , String > {
23+
24+ @ Override
25+ public N remove (String s , N n ) {
26+ // TODO Auto-generated method stub
27+ return add (s , n );
28+ }
29+
30+
31+ }
32+
33+ public interface PTestI <P , T > {
34+ public P add (T t , P p );
35+ public P remove (T t , P p );
36+
37+ }
38+
639 static class Parser extends BaseParser {
740
41+ @ Override
842 void test () {
943 System .out .println ("Parser.test" );
1044 }
@@ -26,6 +60,8 @@ public static void main(String[] args) {
2660
2761 new Test_ClassBase .Parser ().doTest ();
2862
63+ new PTest ();
64+
2965 }
3066
3167}
You can’t perform that action at this time.
0 commit comments