com.indexdata.torus2.util
Class NaturalOrderComparator

java.lang.Object
  extended by com.indexdata.torus2.util.NaturalOrderComparator
All Implemented Interfaces:
Comparator

public class NaturalOrderComparator
extends Object
implements Comparator


Constructor Summary
NaturalOrderComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
static void main(String[] args)
           
 
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

NaturalOrderComparator

public NaturalOrderComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

main

public static void main(String[] args)


Copyright © 2008-2013 Index Data. All Rights Reserved.