com.thinkaurelius.titan.graphdb.internal

## Class OrderList.OrderEntry

- java.lang.Object
- - com.thinkaurelius.titan.graphdb.internal.OrderList.OrderEntry

- All Implemented Interfaces:
    Comparator<TitanElement>
  Enclosing class:
    OrderList

      public static class OrderList.OrderEntry
      extends Object
      implements Comparator<TitanElement>

  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OrderList.OrderEntry(PropertyKey key, Order order)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(TitanElement o1, TitanElement o2)`
    `boolean` | `equals(Object oth)`
    `PropertyKey` | `getKey()`
    `Order` | `getOrder()`
    `int` | `hashCode()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### OrderList.OrderEntry

          public OrderList.OrderEntry(PropertyKey key,
                              Order order)

  - ### Method Detail

    - #### getKey

          public PropertyKey getKey()

    - #### getOrder

          public Order getOrder()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### compare

          public int compare(TitanElement o1,
                    TitanElement o2)

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

    - #### equals

          public boolean equals(Object oth)

      Specified by:
        `equals` in interface `Comparator<TitanElement>`
      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2012–2014. All rights reserved.