Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Method Summary
`Number` | `getNumber(ArchetypeEdge e)`
`void` | `setNumber(ArchetypeEdge e, Number n)`

Method Detail

### 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 setting
    `n` - the Number to which we're setting the edge

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD