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 NumberVertexValue

All Known Implementing Classes:
  MapNumberVertexValue, UserDatumNumberVertexValue

public interface NumberVertexValue

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

Method Summary
`Number` | `getNumber(ArchetypeVertex v)`
`void` | `setNumber(ArchetypeVertex v, Number n)`

Method Detail

### getNumber

    public Number getNumber(ArchetypeVertex v)

  Parameters:
    `v` - the vertex to examine
  Returns:
    the Number associated with this vertex

### setNumber

    public void setNumber(ArchetypeVertex v,
                          Number n)

  Parameters:
    `v` - the vertex whose value we're setting
    `n` - the Number to which we're setting the vertex's value

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