java.lang.Object
org.refcodes.textual.NumberSuffixComparator
org.refcodes.textual.NumberSuffixComparatorSingleton
- All Implemented Interfaces:
Comparator<String>
This
NumberSuffixComparatorSingleton
provides a
NumberSuffixComparator
singleton .-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumberSuffixComparator
Returns the singleton's instance as fabricated by thisNumberSuffixComparatorSingleton
.Methods inherited from class org.refcodes.textual.NumberSuffixComparator
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
NumberSuffixComparatorSingleton
public NumberSuffixComparatorSingleton()
-
-
Method Details
-
getInstance
Returns the singleton's instance as fabricated by thisNumberSuffixComparatorSingleton
.- Returns:
- The
NumberSuffixComparator
singleton's instance.
-