i2p.susi.dns

## Class AddressByNameSorter

- java.lang.Object
- - i2p.susi.dns.AddressByNameSorter

- All Implemented Interfaces:
    Serializable, Comparator<AddressBean>

      public class AddressByNameSorter
      extends Object
      implements Comparator<AddressBean>, Serializable

  Comparator for sorting AddressBean by name alphabetically.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AddressByNameSorter()` Default constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(AddressBean a, AddressBean b)`

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

    - #### AddressByNameSorter

          public AddressByNameSorter()

      Default constructor.

  - ### Method Detail

    - #### compare

          public int compare(AddressBean a,
                             AddressBean b)

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