igeo

## Class IValueComparator<T>

- java.lang.Object
- - igeo.IValueComparator<T>

- All Implemented Interfaces:
    IComparator<T>
  Direct Known Subclasses:
    IGeometryXComparator, IGeometryYComparator, IGeometryZComparator

      public abstract class IValueComparator<T>
      extends java.lang.Object
      implements IComparator<T>

  An interface to define comparator to be used in sorting with ISort.
  Author:
    Satoru Sugihara
  See Also:
    `ISort`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IValueComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(T o1, T o2)`
    `abstract double` | `value(T o)`

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

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

- - ### Constructor Detail

    - #### IValueComparator

          public IValueComparator()

  - ### Method Detail

    - #### value

          public abstract double value(T o)

    - #### compare

          public int compare(T o1,
                    T o2)

      Specified by:
        `compare` in interface `IComparator<T>`