org.dawb.common.util.list
Class IntersectionUtils

java.lang.Object
  extended by org.dawb.common.util.list.IntersectionUtils

public class IntersectionUtils
extends java.lang.Object


Constructor Summary
IntersectionUtils()
           
 
Method Summary
static void checkIntersection(java.util.List<java.lang.Object[]> values)
          Checks if a list of two doubles (start,end) arrays intersect.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntersectionUtils

public IntersectionUtils()
Method Detail

checkIntersection

public static void checkIntersection(java.util.List<java.lang.Object[]> values)
                              throws IntersectionException
Checks if a list of two doubles (start,end) arrays intersect. Throws Exception with information about what hit what if do.

Parameters:
values - a list of the array {startValue, endValue, name} where startValue and endValue must be Numbers, and name will have toString() called on it when assigning the exception.
Throws:
IntersectionException