com.esri.arcgis.system
Class EqualInterval

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

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

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

Description 'Defines an equal interval 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
 
Fields inherited from interface com.esri.arcgis.system.IClassifyMinMax
IID, IIDac6c5899_241b_11d3_9f50_00c04f6bc709, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IClassifyMinMax2
IID, IIDb42e7156_f8a5_415b_abb4_230ca421f4b2, xxDummy
 
Constructor Summary
EqualInterval()
          Constructs a EqualInterval using ArcGIS Engine.
EqualInterval(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EqualInterval theEqualInterval = (EqualInterval) 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.
 void classifyMinMax(double min, double max, int[] numClasses)
          Classifies a data range defined by a minimum and maximum value 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 EqualInterval.
 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.
 void setMaximum(double rhs1)
          The maximum value.
 void setMinimum(double rhs1)
          The minimum value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualInterval

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

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

EqualInterval

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

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

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 EqualInterval.

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.

setMinimum

public void setMinimum(double rhs1)
                throws java.io.IOException,
                       AutomationException
The minimum value.

Specified by:
setMinimum in interface IClassifyMinMax
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximum

public void setMaximum(double rhs1)
                throws java.io.IOException,
                       AutomationException
The maximum value.

Specified by:
setMaximum in interface IClassifyMinMax
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

classifyMinMax

public void classifyMinMax(double min,
                           double max,
                           int[] numClasses)
                    throws java.io.IOException,
                           AutomationException
Classifies a data range defined by a minimum and maximum value into the specified number of classes.

Specified by:
classifyMinMax in interface IClassifyMinMax2
Parameters:
min - The min (in)
max - The max (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.