mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
new inference: initial tests
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import java.util.*;
|
||||
class Node<K> {
|
||||
List<Node<K>> getNodes() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private static <T> int strongConnect(Node<T> currentNode) {
|
||||
for (Node<T> dependantNode : currentNode.getNodes()) {
|
||||
strongConnect(dependantNode);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user