tigase.xmpp.impl

## Class OfflineMessages.StampComparator

- java.lang.Object
- - tigase.xmpp.impl.OfflineMessages.StampComparator

- All Implemented Interfaces:
    Comparator<Packet>
  Enclosing class:
    OfflineMessages

      public class OfflineMessages.StampComparator
      extends Object
      implements Comparator<Packet>

  `Comparator` interface implementation for the purpose of sorting Elements retrieved from the repository by the timestamp stored in `delay` element.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OfflineMessages.StampComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Packet p1, Packet p2)`

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

      `equals`

- - ### Constructor Detail

    - #### OfflineMessages.StampComparator

          public OfflineMessages.StampComparator()

  - ### Method Detail

    - #### compare

          public int compare(Packet p1,
                    Packet p2)

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

Copyright © 2015 "Tigase, Inc.". All rights reserved.