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

## things.common
Class ThingsExceptionComparator

    java.lang.Object
      things.common.ThingsExceptionComparator

All Implemented Interfaces:
  java.util.Comparator<ThingsException>

    public class ThingsExceptionComparator

extends java.lang.Object
implements java.util.Comparator<ThingsException>

Compares ThingsExceptions based in their numerics.

Version:
  1.0

  Version History

      EPG - Initial - 22 MAY 05

Author:
  Erich P. Gatejen

Constructor Summary
`ThingsExceptionComparator()`

Method Summary
`int` | `compare(ThingsException o1, ThingsException o2)` Compare.

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

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

Constructor Detail

### ThingsExceptionComparator

    public ThingsExceptionComparator()

Method Detail

### compare

    public int compare(ThingsException o1,
                       ThingsException o2)

  Compare. It will use the numeric as the value. A lower number is considered a worse exception.

  Specified by:
    `compare` in interface `java.util.Comparator<ThingsException>`
  Parameters:
    `o1` - exception 1
    `o2` - exception 2
  Returns:
    sort order compare.

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

Things.