Package | Description |
---|---|
org.jboss.errai.ioc.rebind.ioc.graph |
Modifier and Type | Class and Description |
---|---|
class |
ProxySortUnit
A cycle breaking proxy used by the
GraphBuilder to properly construct a graph which can accurately
represent cycles. |
Modifier and Type | Method and Description |
---|---|
static SortUnit |
SortUnit.create(MetaClass type,
Collection<Object> items,
Collection<SortUnit> dependencies) |
Modifier and Type | Method and Description |
---|---|
List<SortUnit> |
GraphBuilder.build()
Returns a graph of only incoming edges for use in a topological sort.
|
Set<SortUnit> |
ProxySortUnit.getDependencies() |
Set<SortUnit> |
SortUnit.getDependencies()
Returns a list of SortUnits which are depended on by this SortUnit.
|
static List<SortUnit> |
GraphSort.sortGraph(Collection<SortUnit> in)
Performs of a topological sort and returns a new list of sorted
SortUnit s. |
Modifier and Type | Method and Description |
---|---|
int |
ProxySortUnit.compareTo(SortUnit o) |
int |
SortUnit.compareTo(SortUnit o) |
boolean |
SortUnit.hasDependency(SortUnit unit)
Determines whether or not the specified SortUnit is a direct or indirect dependency of this SortUnit.
|
void |
ProxySortUnit.setDelegate(SortUnit unit)
Sets the instance of
SortUnit which should be proxied on. |
Modifier and Type | Method and Description |
---|---|
static SortUnit |
SortUnit.create(MetaClass type,
Collection<Object> items,
Collection<SortUnit> dependencies) |
static List<SortUnit> |
GraphSort.sortGraph(Collection<SortUnit> in)
Performs of a topological sort and returns a new list of sorted
SortUnit s. |
static String |
GraphBuilder.toDOTRepresentation(List<SortUnit> graph) |
Constructor and Description |
---|
SortUnit(MetaClass type,
List<Object> items,
Set<SortUnit> dependencies) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.