mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
test++
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
public interface Test {
|
||||
void foo(Param param);
|
||||
|
||||
public static class Param {
|
||||
private final String s;
|
||||
|
||||
public Param(String s) {
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
public String getS() {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class TestImpl implements Test {
|
||||
void foo(Param param){}
|
||||
}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public interface Test {
|
||||
void foo(String s);
|
||||
}
|
||||
|
||||
class TestImpl implements Test {
|
||||
void foo(String s){}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user