org.gcube.indexmanagement.jdbmwrapper
Class FloatComparator
java.lang.Object
org.gcube.indexmanagement.jdbmwrapper.FloatComparator
- All Implemented Interfaces:
- Serializable, Comparator
public final class FloatComparator
- extends Object
- implements Comparator, Serializable
This class compares two dates.
It compares its two arguments for order. Returns a negative integer,
zero, or a positive integer as the first argument is less than,
equal to, or greater than the second.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatComparator
public FloatComparator()
compare
public int compare(Object obj1,
Object obj2)
- Compares its two arguments for order. Returns a negative integer,
zero, or a positive integer as the first argument is less than, equal to,
or greater than the second.
- Specified by:
compare in interface Comparator
- Parameters:
obj1 - - The first date to compareobj2 - - The second date to compare
- Returns:
- - a negative integer, zero, or a positive integer as the first
argument is less than, equal to, or greater than the second.
Copyright © 2012. All Rights Reserved.