mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
new inference: most specifics, varargs case
This commit is contained in:
@@ -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