com.jalios.util
Class ObjectIntTreeMap.SortedKeyComparator

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

protected static class ObjectIntTreeMap.SortedKeyComparator
extends Object
implements Comparator

A Comparator that sort TreeMap of ObjectIntTreeMap by Key Value sorted using a sorted List

Since:
jcms-4.2
Author:
Jean-Philippe

Constructor Summary
ObjectIntTreeMap.SortedKeyComparator(List sort)
           
 
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.SortedKeyComparator

public ObjectIntTreeMap.SortedKeyComparator(List sort)
Method Detail

compare

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


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