public class BaseStatistics extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IGenerateStatistics, IStatisticsResults, IFrequencyStatistics
Description 'Base statistics class for generating and reporting statistics.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDb9c43589_78b8_11d2_ae60_080009ec732a, xxDummy
IID, IIDb9c4358a_78b8_11d2_ae60_080009ec732a, xxDummy
IID, IIDb9c4358b_78b8_11d2_ae60_080009ec732a, xxDummy
Constructor and Description |
---|
BaseStatistics()
Constructs a BaseStatistics using ArcGIS Engine.
|
BaseStatistics(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
BaseStatistics theBaseStatistics = (BaseStatistics) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addValue(double value)
Adds a data value to the collection of values used to derive the statistics.
|
void |
computeAutoFrequencyIntervals()
Computes a suitable frequency interval count for the number of values.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
finalCompute()
May be called after all values have been added to establish frequeny table (the function is not required any more).
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCount()
The count of the values.
|
int |
getFrequencyClassCount(int intervalIndex)
The frequency class count at a given interval index.
|
int |
getFrequencyIntervalCount()
The frequency interval count.
|
double |
getFrequencyIntervalSize()
The size (range) of each frequency interval.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getMaximum()
The maximum value.
|
double |
getMean()
The arithmetic mean.
|
double |
getMinimum()
The minimum value.
|
double |
getStandardDeviation()
The standard deviation, based on sample flag.
|
double |
getSum()
The sum of the values.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
reset(boolean simpleStats)
Clears out the currently gathered statistics.
|
void |
setFrequencyIntervalCount(int numIntervals)
The frequency interval count.
|
void |
setSample(boolean rhs1)
Indicates if the statistics represent a sample of the data (used for calculating standard deviation).
|
void |
setSimpleStats(boolean rhs1)
Indicates if simple statistics are sufficient.
|
public BaseStatistics() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic BaseStatistics(java.lang.Object obj) throws java.io.IOException
BaseStatistics theBaseStatistics = (BaseStatistics) obj;
obj
to BaseStatistics
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setSimpleStats(boolean rhs1) throws java.io.IOException, AutomationException
setSimpleStats
in interface IGenerateStatistics
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSample(boolean rhs1) throws java.io.IOException, AutomationException
setSample
in interface IGenerateStatistics
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reset(boolean simpleStats) throws java.io.IOException, AutomationException
reset
in interface IGenerateStatistics
simpleStats
- The simpleStats (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addValue(double value) throws java.io.IOException, AutomationException
addValue
in interface IGenerateStatistics
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void finalCompute() throws java.io.IOException, AutomationException
finalCompute
in interface IGenerateStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IStatisticsResults
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMinimum() throws java.io.IOException, AutomationException
getMinimum
in interface IStatisticsResults
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMaximum() throws java.io.IOException, AutomationException
getMaximum
in interface IStatisticsResults
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getSum() throws java.io.IOException, AutomationException
getSum
in interface IStatisticsResults
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMean() throws java.io.IOException, AutomationException
getMean
in interface IStatisticsResults
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getStandardDeviation() throws java.io.IOException, AutomationException
getStandardDeviation
in interface IStatisticsResults
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFrequencyIntervalCount() throws java.io.IOException, AutomationException
getFrequencyIntervalCount
in interface IFrequencyStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFrequencyIntervalCount(int numIntervals) throws java.io.IOException, AutomationException
setFrequencyIntervalCount
in interface IFrequencyStatistics
numIntervals
- The numIntervals (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void computeAutoFrequencyIntervals() throws java.io.IOException, AutomationException
computeAutoFrequencyIntervals
in interface IFrequencyStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getFrequencyIntervalSize() throws java.io.IOException, AutomationException
getFrequencyIntervalSize
in interface IFrequencyStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFrequencyClassCount(int intervalIndex) throws java.io.IOException, AutomationException
getFrequencyClassCount
in interface IFrequencyStatistics
intervalIndex
- The intervalIndex (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.