mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
25 lines
567 B
Java
25 lines
567 B
Java
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
|
|
public class Test {
|
|
public void myTest(List list, String s1, String s2) {
|
|
}
|
|
|
|
public void myTest(Collection list, String s1, String s2) {
|
|
}
|
|
|
|
public void usage() {
|
|
List list = new ArrayList();
|
|
String aa = "AA";
|
|
String bb = "bb";
|
|
myTest(list, aa, bb);
|
|
Collection col = new ArrayList();
|
|
newMethod(col, aa, bb);
|
|
}
|
|
|
|
private void newMethod(Collection col, String aa, String bb) {
|
|
myTest(col, aa, bb);
|
|
}
|
|
} |