edu.uci.ics.jung.graph.decorators
Interface NumberEdgeValue
- All Known Implementing Classes:
- ConstantDirectionalEdgeValue, ConstantEdgeValue, EdgeWeightLabeller, UserDatumNumberEdgeValue
- 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 Number getNumber(ArchetypeEdge e)
- Parameters:
e
- the edge to examine
- Returns:
- the Number associated with this edge
setNumber
public void setNumber(ArchetypeEdge e,
Number n)
- Parameters:
e
- the edge whose value we're settingn
- the Number to which we're setting the edge