public final class UsageGraph<K> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
UsageGraph.Use<K> |
Constructor and Description |
---|
UsageGraph(Collection<K> data,
UsageGraph.Use<K> use,
boolean allowCyclic) |
Modifier and Type | Method and Description |
---|---|
void |
invalidate()
Must be called if the data set has been modified.
|
List<K> |
resolveOrder() |
boolean |
transitiveUse(K source,
K other) |
public UsageGraph(Collection<K> data, UsageGraph.Use<K> use, boolean allowCyclic)