net.i2p.router.web.helpers

## Class NetDbRenderer.RAComparator

- java.lang.Object
- - net.i2p.router.web.helpers.NetDbRenderer.RAComparator

- All Implemented Interfaces:
    Comparator<RouterAddress>
  Enclosing class:
    NetDbRenderer

      static class NetDbRenderer.RAComparator
      extends Object
      implements Comparator<RouterAddress>

  Comparator for router addresses by transport then host.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RAComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(RouterAddress l, RouterAddress r)`

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

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

    - ### Methods inherited from interface java.util.Comparator

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### RAComparator

          RAComparator()

  - ### Method Detail

    - #### compare

          public int compare(RouterAddress l,
                             RouterAddress r)

      Specified by:
        `compare` in interface `Comparator<RouterAddress>`