Package de.gurkenlabs.litiengine.util
Class AlphanumComparator
java.lang.Object
de.gurkenlabs.litiengine.util.AlphanumComparator
- All Implemented Interfaces:
java.util.Comparator<java.lang.String>
public class AlphanumComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.String>
This is an updated version with enhancements made by Daniel Migowski,
Andre Bogus, and David Koelle. Updated by David Koelle in 2017. To use this class:
Use the static "sort" method from the java.util.Collections class:
Collections.sort(your list, new AlphanumComparator());
Constructor Summary
Constructors Constructor Description AlphanumComparator()
Method Summary
Constructor Details
AlphanumComparator
public AlphanumComparator()
Method Details