org.apache.hadoop.chukwa.hicc
Class AreaCalculator

java.lang.Object
  extended by org.apache.hadoop.chukwa.hicc.AreaCalculator

public class AreaCalculator
extends Object


Constructor Summary
AreaCalculator()
           
 
Method Summary
static Double getArea(double x0, double y0, double x1, double y1)
           
static Double getArea(TreeMap<String,Double> data)
           
static TreeMap<String,Double> getAreas(TreeMap<String,TreeMap<String,Double>> dataSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AreaCalculator

public AreaCalculator()
Method Detail

getAreas

public static TreeMap<String,Double> getAreas(TreeMap<String,TreeMap<String,Double>> dataSet)

getArea

public static Double getArea(TreeMap<String,Double> data)

getArea

public static Double getArea(double x0,
                             double y0,
                             double x1,
                             double y1)


Copyright © ${year} The Apache Software Foundation