com.jalios.util
Class ObjectLongTreeMap.SortedKeyComparator

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

public static class ObjectLongTreeMap.SortedKeyComparator
extends Object
implements Comparator

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

Since:
jcms-7.0.0

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

ObjectLongTreeMap.SortedKeyComparator

public ObjectLongTreeMap.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.