edu.uci.ics.jung.graph.decorators
Interface NumberEdgeValue
- public interface NumberEdgeValue
A generalized interface for setting and getting Number
s
of ArchetypeEdge
s. Using this interface allows
algorithms to work without having to know how edges store this
data.
- Author:
- Joshua O'Madadhain
getNumber
public java.lang.Number getNumber(ArchetypeEdge e)
- Parameters:
e
- the edge to examine
- Returns:
- the Number associated with this edge
setNumber
public void setNumber(ArchetypeEdge e,
java.lang.Number n)
- Parameters:
e
- the edge whose value we're settingn
- the Number to which we're setting the edge