com.jalios.util
Class ObjectIntTreeMap.GreaterComparator

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

protected static class ObjectIntTreeMap.GreaterComparator
extends Object
implements Comparator

A Comparator that sort TreeMap of ObjectIntTreeMap by Max Value

Since:
jcms-4.2
Author:
Jean-Philippe

Constructor Summary
protected ObjectIntTreeMap.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

ObjectIntTreeMap.GreaterComparator

protected ObjectIntTreeMap.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.