DistanceVector (Siena 2.0.4 API Documentation)
Date: 2015-05-17

siena.dvdrp

## Class DistanceVector

- java.lang.Object
- - siena.dvdrp.DistanceVector

-     public class DistanceVector
      extends java.lang.Object

  an implementation of a distance vector

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.util.Map<byte[],DVEntry>` | `entries`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DistanceVector()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addEntry(byte[] id, DVEntry entry)`
    `void` | `clear()`
    `boolean` | `containsOtherThan(byte[] id)`
    `DVEntry` | `getEntry(byte[] id)`
    `java.util.Iterator<byte[]>` | `getEntryIdsIterator()`
    `void` | `removeEntry(byte[] id)`
    `int` | `size()`
    `java.lang.String` | `toString()` for debugging purposes only

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### entries

          public java.util.Map<byte[],DVEntry> entries

  - ### Constructor Detail

    - #### DistanceVector

          public DistanceVector()

  - ### Method Detail

    - #### addEntry

          public void addEntry(byte[] id,
                      DVEntry entry)

    - #### removeEntry

          public void removeEntry(byte[] id)

    - #### getEntry

          public DVEntry getEntry(byte[] id)

    - #### getEntryIdsIterator

          public java.util.Iterator<byte[]> getEntryIdsIterator()

    - #### toString

          public java.lang.String toString()

      for debugging purposes only
      Overrides:
        `toString` in class `java.lang.Object`

    - #### containsOtherThan

          public boolean containsOtherThan(byte[] id)

    - #### clear

          public void clear()

    - #### size

          public int size()

Copyright © 2000-2005 University of Colorado.
Copyright © 2005-2011 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga