Package com.macrofocus.utils

# Class UniversalComparator

java.lang.Object
com.macrofocus.utils.UniversalComparator

All Implemented Interfaces:
  `Comparator`

public class UniversalComparator extends Object implements Comparator

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UniversalComparator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compare(Number number1, Number number2)`
  `int`
  `compare(Object o1, Object o2)`

  ### 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- ## Constructor Details

  - ### UniversalComparator

    public UniversalComparator()

- ## Method Details

  - ### compare

    public int compare(Object o1, Object o2)
    Specified by:
      `compare` in interface `Comparator`

  - ### compare

    public int compare(Number number1, Number number2)