Package tech.uom.lib.common.util
Class NumberComparator
java.lang.Object
tech.uom.lib.common.util.NumberComparator
- All Implemented Interfaces:
Comparator<Number>
Compares two Number objects with each other
- Since:
- 1.0.2
- Version:
- 1.0
- Author:
- Werner
-
Method Summary
Modifier and TypeMethodDescriptionprotected static charintprotected intcompareRight(String a, String b) static NumberComparatorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
charAt
-
compareRight
-
compare
- Specified by:
comparein interfaceComparator<Number>
-
getInstance
-