com.h3c.util

## Class SortSpecification.SortComponent<T>

- java.lang.Object
- - com.h3c.util.SortSpecification.SortComponent<T>

- Type Parameters:
    `T` - type of the attribute to sort by.
  Enclosing class:
    SortSpecification<T>

      public static class SortSpecification.SortComponent<T>
      extends Object

  Sort specification component.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `T` | `getSortBy()` Gets the attribute to sort by.
    `SortOrder` | `getSortOrder()` Gets the sort direction.
    `int` | `hashCode()`
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getSortBy

          public T getSortBy()

      Gets the attribute to sort by.
      Returns:
        the attribute to sort by.

    - #### getSortOrder

          public SortOrder getSortOrder()

      Gets the sort direction.
      Returns:
        the sort direction.

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.