mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 10:21:05 +07:00
14 lines
300 B
Java
14 lines
300 B
Java
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;
|
|
}
|
|
}
|