com.microfocus.awm.control

## Class ElementListSorter

- java.lang.Object
- - com.microfocus.awm.control.ElementListSorter

- All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<IElementListEntry>

      public class ElementListSorter
      extends java.lang.Object
      implements java.util.Comparator<IElementListEntry>, java.io.Serializable

  Used to sort `IElementListEntry`s. The first property of an element type which sort direction is not defined as `ESortDirection.NONE` is used to sort the `IElementListEntry`s.
  Author:
    Ralf Pakosch
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ElementListSorter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(IElementListEntry pE1, IElementListEntry pE2)`

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

      `equals, 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

    - #### ElementListSorter

          public ElementListSorter()

  - ### Method Detail

    - #### compare

          public int compare(IElementListEntry pE1,
                             IElementListEntry pE2)

      Specified by:
        `compare` in interface `java.util.Comparator<IElementListEntry>`

Copyright © 2015 Micro Focus GmbH. All rights reserved.