mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 00:50:53 +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;
|
|
}
|
|
}
|