/** * Sets the reference comparator based on classic alphabetical order. * * @see #setComparator(Comparator) */ public void setAlphaComparator() { setComparator(new AlphabeticalComparator()); }
/** * Sets the reference comparator based on the more friendly "Alphanum * Algorithm" created by David Koelle. The internal implementation used is * based on an optimized public domain implementation provided by Rob * Heittman from the Solertium Corporation. * * @see <a href="http://www.davekoelle.com/alphanum.html">The original * Alphanum Algorithm from David Koelle</a> * @see #setComparator(Comparator) */ public void setAlphaNumComparator() { setComparator(new AlphabeticalComparator()); }