mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-11-13 00:33:59 +07:00
new inference: most specifics, varargs case
This commit is contained in:
1 parent
89aefc86f1
commit
6ded813afe
3 files changed
+35
-3
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
import java.util.*;
|
||||
|
||||
class Specificss {
|
||||
{
|
||||
Set<String> JAR_EXTENSIONS = newTroveSet(new ArrayList<String>(), "jar", "zip", "swc", "ane");
|
||||
}
|
||||
|
||||
|
||||
public static <T> HashSet<T> newTroveSet(T... elements) {
|
||||
return newTroveSet(Arrays.asList(elements));
|
||||
}
|
||||
|
||||
public static <T> HashSet<T> newTroveSet(List<T> strategy, T... elements) {
|
||||
return new HashSet<T>();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user