org.infinispan.loaders.jdbm
Class NaturalComparator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaturalComparator
public NaturalComparator()
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.