com.esri.arcgis.datasourcesraster
Interface IUniqueValues

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IUniqueValues2
All Known Implementing Classes:
IUniqueValues2Proxy, IUniqueValuesProxy, UniqueValues

public interface IUniqueValues
extends java.io.Serializable

COM Interface 'IUniqueValues'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that controls unique values.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDb2768ab2_e583_4ccf_831d_36237c2f520a
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int add(int value, int count)
          Adds a value if necessary and returns its value ID.
 void delete(int value)
          Deletes a value.
 void empty()
          Empties unique values.
 int getCount()
          The total number of unique values.
 void getHistogram(java.lang.Object[] pUniqueValues, java.lang.Object[] pCounts)
          The historgram of values.
 int getMax()
          The maximum of values.
 int getMin()
          The minimum of values.
 int getUniqueCount(int idnex)
          The unique value count at a given index.
 java.lang.Object getUniqueValue(int index)
          The unique value at a given index.
 int lookup(int value)
          Looks up unique index of a given value.
 

Field Detail

IIDb2768ab2_e583_4ccf_831d_36237c2f520a

static final int IIDb2768ab2_e583_4ccf_831d_36237c2f520a
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

lookup

int lookup(int value)
           throws java.io.IOException,
                  AutomationException
Looks up unique index of a given value.

Parameters:
value - The value (in)
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

int add(int value,
        int count)
        throws java.io.IOException,
               AutomationException
Adds a value if necessary and returns its value ID.

Parameters:
value - The value (in)
count - The count (in)
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

void delete(int value)
            throws java.io.IOException,
                   AutomationException
Deletes a value.

Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

empty

void empty()
           throws java.io.IOException,
                  AutomationException
Empties unique values.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUniqueValue

java.lang.Object getUniqueValue(int index)
                                throws java.io.IOException,
                                       AutomationException
The unique value at a given index.

Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUniqueCount

int getUniqueCount(int idnex)
                   throws java.io.IOException,
                          AutomationException
The unique value count at a given index.

Parameters:
idnex - The idnex (in)
Returns:
The uniqueCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The total number of unique values.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMin

int getMin()
           throws java.io.IOException,
                  AutomationException
The minimum of values.

Returns:
The min
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMax

int getMax()
           throws java.io.IOException,
                  AutomationException
The maximum of values.

Returns:
The max
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHistogram

void getHistogram(java.lang.Object[] pUniqueValues,
                  java.lang.Object[] pCounts)
                  throws java.io.IOException,
                         AutomationException
The historgram of values.

Parameters:
pUniqueValues - A Variant (out: use single element array)
pCounts - A Variant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.