com.jalios.util
Class ObjectLongTreeMap.GreaterComparator

java.lang.Object
  extended by com.jalios.util.ObjectLongTreeMap.GreaterComparator
All Implemented Interfaces:
Comparator
Enclosing class:
ObjectLongTreeMap

public static class ObjectLongTreeMap.GreaterComparator
extends Object
implements Comparator

A Comparator that sort TreeMap of ObjectLongTreeMap by Max Value

Since:
jcms-7.0.0

Constructor Summary
ObjectLongTreeMap.GreaterComparator()
           
 
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

ObjectLongTreeMap.GreaterComparator

public ObjectLongTreeMap.GreaterComparator()
Method Detail

compare

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


Copyright © 2001-2010 Jalios SA. All Rights Reserved.