| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final int | |
| public static final boolean | |
| private final boolean | |
| private static final int | |
| private static final int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| private TopoSorter. | |
| public void | |
| private void |
| nodes | back to summary |
|---|---|
| private final List<TopoSorter. | |
| PERM_MARK | back to summary |
|---|---|
| private static final int PERM_MARK | |
| REVERSE | back to summary |
|---|---|
| public static final boolean REVERSE | |
| reversed | back to summary |
|---|---|
| private final boolean reversed | |
| TEMP_MARK | back to summary |
|---|---|
| private static final int TEMP_MARK | |
| UNMARKED | back to summary |
|---|---|
| private static final int UNMARKED | |
| values | back to summary |
|---|---|
| private final List<E> values | |
| TopoSorter | back to summary |
|---|---|
| protected TopoSorter(List<E> values, boolean reverse) | |
| fillDescendents | back to summary |
|---|---|
| protected abstract void fillDescendents(E from, List<E> descendents) | |
| findDescendent | back to summary |
|---|---|
| private TopoSorter. | |
| sort | back to summary |
|---|---|
| public void sort() | |
| visit | back to summary |
|---|---|
| private void visit(TopoSorter. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private int | |
| private final E |
| Access | Constructor and Description |
|---|---|
| private |
| descs | back to summary |
|---|---|
| private final List<E> descs | |
| mark | back to summary |
|---|---|
| private int mark | |
| val | back to summary |
|---|---|
| private final E val | |
| Node | back to summary |
|---|---|
| private Node(E val) | |