edu.uci.ics.jung.visualization.decorators
Interface NumberVertexValue<V>
- All Known Implementing Classes:
- MapNumberVertexValue
public interface NumberVertexValue<V>
A generalized interface for setting and getting Number
s
of ArchetypeVertex
s. Using this interface allows
algorithms to work without having to know how vertices store this
data.
- Author:
- Joshua O'Madadhain
getNumber
Number getNumber(V v)
- Parameters:
v
- the vertex to examine
- Returns:
- the Number associated with this vertex
setNumber
void setNumber(V v,
Number n)
- Parameters:
v
- the vertex whose value we're settingn
- the Number to which we're setting the vertex's value
Copyright © 2008 null. All Rights Reserved.