org.eclipse.incquery.runtime.rete.util

## Class OrderingCompareAgent<T>

- java.lang.Object
- - org.eclipse.incquery.runtime.rete.util.OrderingCompareAgent<T>

-     public abstract class OrderingCompareAgent<T>
      extends java.lang.Object

  Comparing agent for an ordering. Terminology: the "preferred" item will register as LESS.
  Author:
    Gabor Bergmann

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OrderingCompareAgent(T a, T b)`

  - ### Method Summary

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

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

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OrderingCompareAgent

          public OrderingCompareAgent(T a,
                                      T b)

      Parameters:
        `a` -
        `b` -

  - ### Method Detail

    - #### compare

          public int compare()

      Returns:
        the result