mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
moved java resolve tests to community
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import java.util.*;
|
||||
|
||||
|
||||
class SortedList<E extends Comparable> extends ArrayList<E>
|
||||
{
|
||||
public static <T> T binarySearch(List<? extends Comparable<? super T>> list, T key) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean add(E e){
|
||||
<ref>binarySearch(this,e); //infer E
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user