i2p.susi.webmail

## Class Sorters.SubjectSorter

- java.lang.Object
- - i2p.susi.webmail.Sorters.SubjectSorter

- All Implemented Interfaces:
    Serializable, Comparator<String>
  Enclosing class:
    Sorters

      public static class Sorters.SubjectSorter
      extends Object

  Sorts Mail objects by subject field.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SubjectSorter(MailCache mailCache)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected int` | `compare(Mail a, Mail 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

    - #### SubjectSorter

          public SubjectSorter(MailCache mailCache)

  - ### Method Detail

    - #### compare

          protected int compare(Mail a,
                                Mail b)

      Parameters:
        `a` - non-null
        `b` - non-null