opticalraytracer
Class IntersectionSortComparator

java.lang.Object
  extended by opticalraytracer.IntersectionSortComparator
All Implemented Interfaces:
java.util.Comparator<RayLensIntersection>

public final class IntersectionSortComparator
extends java.lang.Object
implements java.util.Comparator<RayLensIntersection>


Constructor Summary
IntersectionSortComparator()
           
 
Method Summary
 int compare(RayLensIntersection s1, RayLensIntersection s2)
           
 
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

IntersectionSortComparator

public IntersectionSortComparator()
Method Detail

compare

public int compare(RayLensIntersection s1,
                   RayLensIntersection s2)
Specified by:
compare in interface java.util.Comparator<RayLensIntersection>