com.esri.arcgis.system
Class NaturalBreaks

java.lang.Object
  extended by com.esri.arcgis.system.NaturalBreaks
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IClassify, IClassifyGEN, java.io.Serializable

public class NaturalBreaks
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IClassifyGEN, IClassify

COM Class 'NaturalBreaks'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'Defines a natural breaks classification method.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IClassifyGEN
IID, IIDcba26148_cd2c_44ac_bbf5_b228b55a198d, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IClassify
IID, IIDd5c7a525_dfb8_11d1_aaad_00c04fa334b3, xxDummy
 
Constructor Summary
NaturalBreaks()
          Constructs a NaturalBreaks using ArcGIS Engine.
NaturalBreaks(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NaturalBreaks theNaturalBreaks = (NaturalBreaks) obj;
 
Method Summary
 void classify(int[] numClasses)
          Classifies data into the specified number of classes.
 void classify(java.lang.Object doubleArrayValues, java.lang.Object longArrayFrequencies, int[] numClasses)
          Classifies histogram data (array of values (doubles) and a paired array of frequencies (longs)) into the specified number of classes.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.Object getClassBreaks()
          The array of class breaks (double).
 IUID getClassID()
          The CLSID for the classification object.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getMethodName()
          The name of the classification method (based on choice of classification object).
 int hashCode()
          the hashcode for this object
 void release()
          Release a NaturalBreaks.
 void setHistogramData(java.lang.Object doubleArrayValues, java.lang.Object longArrayFrequencies)
          Adds data in form of a histogram (array of values (doubles) and a paired array of frequencies (longs)) to the classification.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaturalBreaks

public NaturalBreaks()
              throws java.io.IOException,
                     java.net.UnknownHostException
Constructs a NaturalBreaks using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

NaturalBreaks

public NaturalBreaks(java.lang.Object obj)
              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NaturalBreaks theNaturalBreaks = (NaturalBreaks) obj;

Construct a NaturalBreaks using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NaturalBreaks.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a NaturalBreaks.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

classify

public void classify(java.lang.Object doubleArrayValues,
                     java.lang.Object longArrayFrequencies,
                     int[] numClasses)
              throws java.io.IOException,
                     AutomationException
Classifies histogram data (array of values (doubles) and a paired array of frequencies (longs)) into the specified number of classes.

Specified by:
classify in interface IClassifyGEN
Parameters:
doubleArrayValues - A Variant (in)
longArrayFrequencies - A Variant (in)
numClasses - The numClasses (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassBreaks

public java.lang.Object getClassBreaks()
                                throws java.io.IOException,
                                       AutomationException
The array of class breaks (double). ClassBreaks(0) is the minimum value in the dataset, and subsequent breaks represent the upper limit of each class.

Specified by:
getClassBreaks in interface IClassify
Specified by:
getClassBreaks in interface IClassifyGEN
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMethodName

public java.lang.String getMethodName()
                               throws java.io.IOException,
                                      AutomationException
The name of the classification method (based on choice of classification object).

Specified by:
getMethodName in interface IClassify
Specified by:
getMethodName in interface IClassifyGEN
Returns:
The txt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public IUID getClassID()
                throws java.io.IOException,
                       AutomationException
The CLSID for the classification object.

Specified by:
getClassID in interface IClassify
Specified by:
getClassID in interface IClassifyGEN
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHistogramData

public void setHistogramData(java.lang.Object doubleArrayValues,
                             java.lang.Object longArrayFrequencies)
                      throws java.io.IOException,
                             AutomationException
Adds data in form of a histogram (array of values (doubles) and a paired array of frequencies (longs)) to the classification.

Specified by:
setHistogramData in interface IClassify
Parameters:
doubleArrayValues - A Variant (in)
longArrayFrequencies - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

classify

public void classify(int[] numClasses)
              throws java.io.IOException,
                     AutomationException
Classifies data into the specified number of classes.

Specified by:
classify in interface IClassify
Parameters:
numClasses - The numClasses (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.