Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## unity.predicates
Class SortComparator

    java.lang.Object
      unity.predicates.SortComparator

All Implemented Interfaces:
  java.util.Comparator

Direct Known Subclasses:
  ExprSortComparator

    public class SortComparator

extends java.lang.Object
implements java.util.Comparator

Constructor Summary
`SortComparator()`
`SortComparator(int[] idx, boolean[] sa)`

Method Summary
`int` | `compare(java.lang.Object o1, java.lang.Object o2)`
`void` | `shiftComparator(int i)`
`int` | `sqlcompare(java.lang.Object o1, java.lang.Object o2)`
`java.lang.String` | `toString()`
`java.lang.String` | `toString(Relation relation)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface java.util.Comparator
`equals`

Constructor Detail

### SortComparator

    public SortComparator()

### SortComparator

    public SortComparator(int[] idx,
                          boolean[] sa)

Method Detail

### shiftComparator

    public void shiftComparator(int i)

### compare

    public int compare(java.lang.Object o1,
                       java.lang.Object o2)

  Specified by:
    `compare` in interface `java.util.Comparator`

### sqlcompare

    public int sqlcompare(java.lang.Object o1,
                          java.lang.Object o2)
                   throws java.io.IOException

  Throws:
    `java.io.IOException`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### toString

    public java.lang.String toString(Relation relation)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD