public class GraphNode<IDENT,T extends GraphNode<IDENT,T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Collection<T> |
inbounds |
protected IDENT |
key |
protected Collection<T> |
outbounds |
| Modifier and Type | Method and Description |
|---|---|
void |
addInbound(T inbound) |
void |
addOutbound(T outbound) |
void |
disconnect(T node)
Remove all outbound edges from this node to the other.
|
boolean |
equals(Object obj) |
Collection<T> |
getInbounds() |
IDENT |
getKey() |
Collection<T> |
getOutbounds() |
int |
hashCode() |
void |
removeInbound(T inbound) |
void |
removeOutbount(T outbound) |
void |
setKey(IDENT key) |
protected IDENT key
protected final Collection<T extends GraphNode<IDENT,T>> inbounds
protected final Collection<T extends GraphNode<IDENT,T>> outbounds
public GraphNode()
public GraphNode(IDENT key)
public Collection<T> getInbounds()
public Collection<T> getOutbounds()
public void addInbound(T inbound)
public void addOutbound(T outbound)
public void removeInbound(T inbound)
public void removeOutbount(T outbound)
public IDENT getKey()
public void setKey(IDENT key)
public void disconnect(T node)
node - Copyright © 2010–2016 Henix, henix.fr. All rights reserved.