/in/Main.java:69: error: incompatible types: cannot infer type arguments for HashSet<>
blNum++;blockHash.put(hash,blNum);pointList.put(hash,new HashSet<>());
^
reason: no instance(s) of type variable(s) E exist so that HashSet<E> conforms to List<Integer>
where E is a type-variable:
E extends Object declared in class HashSet
/in/Main.java:102: error: incompatible types: List<Integer> cannot be converted to Set<Integer>
if (checkPoint(pointList.get(key),pointList.get(sk),pos,r)){
^
/in/Main.java:111: error: incompatible types: List<Set<Integer>> cannot be converted to List<List<Integer>>
if (check(reach,blNum)){
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 errors