| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<T,Architecture<R,L>> |
map |
| Constructor and Description |
|---|
Routings() |
| Modifier and Type | Method and Description |
|---|---|
Architecture<R,L> |
get(T task)
Gets a routing for a task
|
java.util.Collection<Architecture<R,L>> |
getRoutings()
Returns all routings.
|
java.util.Set<T> |
getTasks()
Returns all tasks that have a routing.
|
Architecture<R,L> |
remove(T task)
Removes the routing.
|
void |
set(T task,
Architecture<R,L> routing)
Sets the routing for a task.
|
public void set(T task, Architecture<R,L> routing)
task - the taskrouting - the routingpublic Architecture<R,L> get(T task)
task - the taskpublic Architecture<R,L> remove(T task)
task - the communication taskpublic java.util.Set<T> getTasks()
public java.util.Collection<Architecture<R,L>> getRoutings()