|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.korelstar.math.graph.EdgesSet
public class EdgesSet
| Constructor Summary | |
|---|---|
EdgesSet()
|
|
| Method Summary | |
|---|---|
void |
addEdge(Edge e)
Adds an edge |
void |
addEdges(java.util.Collection c)
Adds edges |
boolean |
containsEdge(Node source,
Node target)
Checks, if the graph contains a certain edge |
Edge |
getEdge(Node source,
Node target)
Get a specific edge |
java.util.Set |
getEdges()
|
java.util.Set |
getEdgesWithFrom(Node source)
Gets all edges with a specific source |
java.util.Set |
getEdgesWithTo(Node target)
Gets all edges with a specific target |
void |
removeEdge(Edge e)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EdgesSet()
| Method Detail |
|---|
public java.util.Set getEdges()
public void addEdge(Edge e)
e - New edgepublic void addEdges(java.util.Collection c)
c - Collection of edgespublic void removeEdge(Edge e)
public boolean containsEdge(Node source,
Node target)
source - Source Node of the Edgetarget - Target Node of the Edge
public Edge getEdge(Node source,
Node target)
source - Source of the edgetarget - Target of the edge
public java.util.Set getEdgesWithFrom(Node source)
source - Source of the edges
public java.util.Set getEdgesWithTo(Node target)
target - Target of the edges
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||