edu.uci.ics.jung.visualization.decorators
Interface NumberEdgeValue<E>
- All Known Implementing Classes:
- EdgeWeightLabeller
public interface NumberEdgeValue<E>
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
Number getNumber(E e)
- Parameters:
e
- the edge to examine
- Returns:
- the Number associated with this edge
setNumber
void setNumber(E e,
Number n)
- Parameters:
e
- the edge whose value we're settingn
- the Number to which we're setting the edge
Copyright © 2008 null. All Rights Reserved.