V
- type of the verticespublic class HyperEdge<V> extends java.lang.Object implements Edge.Hyper<V>
Edge.Directed<W>, Edge.Hyper<W>
Constructor and Description |
---|
HyperEdge() |
HyperEdge(java.util.Collection<V> v) |
HyperEdge(V... v) |
public HyperEdge()
public HyperEdge(V... v)
public HyperEdge(java.util.Collection<V> v)
public java.util.Collection<V> getEndpoints()
getEndpoints
in interface Edge<V>
public void add(V v)
add
in interface Edge.Hyper<V>
public void addAll(java.util.Collection<V> v)
addAll
in interface Edge.Hyper<V>
public boolean remove(V v)
remove
in interface Edge.Hyper<V>
public boolean removeAll(java.util.Collection<V> v)
removeAll
in interface Edge.Hyper<V>