|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.util.DependencyOrderedList<T>
T
- the entry typepublic class DependencyOrderedList<T>
A list where the entries are sorted by dependencies, the dependencies to an entry are before the entry
Constructor Summary | |
---|---|
DependencyOrderedList(Map<T,Set<T>> dependencies)
Create a new list |
Method Summary | |
---|---|
void |
append(T object)
Add an object where it is sure that none of the others depends on it |
List<T> |
getInternalList()
Get the internal list, there shouldn't be made any changes to this list. |
Iterable<T> |
getItems()
Get an Iterable over the list's items |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyOrderedList(Map<T,Set<T>> dependencies)
dependencies
- the dependency mapMethod Detail |
---|
public void append(T object)
object
- the object to appendpublic Iterable<T> getItems()
Iterable
over the list's items
public List<T> getInternalList()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |