sexi.util
Class TreeDataSet

java.lang.Object
  |
  +--sexi.util.TreeDataSet
All Implemented Interfaces:
java.io.Serializable

public class TreeDataSet
extends java.lang.Object
implements java.io.Serializable

Manage the trees data by their ID

See Also:
Serialized Form

Field Summary
(package private)  java.util.TreeMap dataMap
           
(package private) static java.lang.Integer ONE
           
 
Constructor Summary
TreeDataSet()
           
 
Method Summary
 float getAverage(int field)
           
 float getBasalArea()
           
 float[] getCFDistribution()
           
 float[] getCPDistribution()
           
 java.util.Map getDataMap()
           
 java.awt.geom.Point2D[] getDistribution(float range, int field)
           
 java.util.Set getIDList()
           
 float getPopAboveSize(double minDBH)
           
 float getProductTotal()
           
 TreeData getTreeData(java.lang.Long id)
           
 float[] getValue(int field)
           
 void putAll(java.util.Map map)
           
 void putAll(TreeDataSet mapTree)
           
 void putTreeData(java.lang.Long id, TreeData t)
           
 int size()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONE

static final java.lang.Integer ONE

dataMap

java.util.TreeMap dataMap
Constructor Detail

TreeDataSet

public TreeDataSet()
Method Detail

putTreeData

public void putTreeData(java.lang.Long id,
                        TreeData t)

getTreeData

public TreeData getTreeData(java.lang.Long id)

getDistribution

public java.awt.geom.Point2D[] getDistribution(float range,
                                               int field)

getValue

public float[] getValue(int field)

getAverage

public float getAverage(int field)

getPopAboveSize

public float getPopAboveSize(double minDBH)

getBasalArea

public float getBasalArea()

getCPDistribution

public float[] getCPDistribution()

getCFDistribution

public float[] getCFDistribution()

getDataMap

public java.util.Map getDataMap()

putAll

public void putAll(java.util.Map map)

putAll

public void putAll(TreeDataSet mapTree)

size

public int size()

getIDList

public java.util.Set getIDList()

getProductTotal

public float getProductTotal()