net.sf.jomic.tools
Class NaturalCaseInsensitiveOrderComparator

java.lang.Object
  extended by net.sf.jomic.tools.NaturalOrderComparator
      extended by net.sf.jomic.tools.NaturalCaseInsensitiveOrderComparator
All Implemented Interfaces:
java.util.Comparator

public class NaturalCaseInsensitiveOrderComparator
extends NaturalOrderComparator

NaturalOrderComparator that ignores case.

Author:
Thomas Aglassinger
See Also:
NaturalOrderComparator

Constructor Summary
NaturalCaseInsensitiveOrderComparator()
           
 
Method Summary
 int compare(java.lang.Object some, java.lang.Object other)
           
 
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
 

Constructor Detail

NaturalCaseInsensitiveOrderComparator

public NaturalCaseInsensitiveOrderComparator()
Method Detail

compare

public int compare(java.lang.Object some,
                   java.lang.Object other)
Specified by:
compare in interface java.util.Comparator
Overrides:
compare in class NaturalOrderComparator