org.jaitools.media.jai.rangelookup
Class LookupItemComparator<T extends Number & Comparable<? super T>,U extends Number & Comparable<? super U>>

java.lang.Object
  extended by org.jaitools.media.jai.rangelookup.LookupItemComparator<T,U>
All Implemented Interfaces:
Comparator<LookupItem<T,U>>

public class LookupItemComparator<T extends Number & Comparable<? super T>,U extends Number & Comparable<? super U>>
extends Object
implements Comparator<LookupItem<T,U>>

Compares LookupItems on the basis of their source value ranges.

Since:
1.3
Author:
Michael Bedward

Constructor Summary
LookupItemComparator()
           
 
Method Summary
 int compare(LookupItem<T,U> item1, LookupItem<T,U> item2)
           
 
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

LookupItemComparator

public LookupItemComparator()
Method Detail

compare

public int compare(LookupItem<T,U> item1,
                   LookupItem<T,U> item2)
Specified by:
compare in interface Comparator<LookupItem<T extends Number & Comparable<? super T>,U extends Number & Comparable<? super U>>>


Copyright © 2009-2013. All Rights Reserved.