com.bigdata.util
Class ReverseLongComparator

java.lang.Object
  extended by com.bigdata.util.ReverseLongComparator
All Implemented Interfaces:
Serializable, Comparator<Long>

public class ReverseLongComparator
extends Object
implements Comparator<Long>, Serializable

Places Long values into descending order.

Version:
$Id: ReverseLongComparator.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
ReverseLongComparator()
           
 
Method Summary
 int compare(Long o1, Long 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

ReverseLongComparator

public ReverseLongComparator()
Method Detail

compare

public int compare(Long o1,
                   Long o2)
Specified by:
compare in interface Comparator<Long>


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.