org.infinispan.loaders.jdbm
Class NaturalComparator

java.lang.Object
  extended by org.infinispan.loaders.jdbm.NaturalComparator
All Implemented Interfaces:
Serializable, Comparator

public class NaturalComparator
extends Object
implements Comparator, Serializable

Compares keys using their natural ordering.

Author:
Elias Ross
See Also:
Serialized Form

Constructor Summary
NaturalComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
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

NaturalComparator

public NaturalComparator()
Method Detail

compare

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

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.