mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AppCode: target dependencies
This commit is contained in:
@@ -17,6 +17,7 @@ package com.intellij.util.graph;
|
||||
|
||||
import com.intellij.openapi.util.Pair;
|
||||
import gnu.trove.TIntArrayList;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -192,4 +193,11 @@ public class DFSTBuilder<Node> {
|
||||
|
||||
return mySCCs;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public List<Node> getSortedNodes() {
|
||||
List<Node> result = new ArrayList<Node>(myGraph.getNodes());
|
||||
Collections.sort(result, comparator());
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user