public class UniqueValues extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IUniqueValues, IUniqueValues2, IUniqueValues3, IUniqueStringValues, IUniqueStringValues2, IUniqueMutliStringValues, IUniqueDoubleValues, IUniqueDoubleValues2, IPersist, IPersistStream, IXMLSerialize, java.io.Externalizable
Description 'A raster unique value class.' 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 =
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
IID, IIDe6501222_839b_464f_a6d1_23fb1be3bb1d, xxDummyIIDbcf576fb_5e01_4b39_b062_d5b167a2e3e5IIDb2768ab2_e583_4ccf_831d_36237c2f520aIID, IIDb39479e3_ec24_49ce_b268_556375700b8a, xxDummyIID, IID066dd15a_3646_4c71_bedf_3b3c9dcb1e4a, xxDummyIID, IIDf6a0372d_21fd_4167_ac40_270c7b2cfe56, xxDummyIID, IIDd8d8e1ef_d10f_45e9_804a_dd1994c9afe3, xxDummyIID, IIDe07d1c59_c0da_4a19_bdfa_c555ca4e0971, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy| Constructor and Description |
|---|
UniqueValues()
Constructs a UniqueValues using ArcGIS Engine.
|
UniqueValues(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
UniqueValues theUniqueValues = (UniqueValues) obj; |
| Modifier and Type | Method and Description |
|---|---|
int |
add(double value,
double count)
Adds a value if necessary and returns its value ID.
|
int |
add(double value,
int count)
Adds a value if necessary and returns its value ID.
|
int |
add(int value,
double count)
Adds a value if necessary and returns its value ID.
|
int |
add(int value,
int count)
Adds a value if necessary and returns its value ID.
|
int |
add(java.lang.Object stringArray,
int count)
add
|
int |
add(java.lang.String value,
double count)
Adds a value if necessary and returns its value ID.
|
int |
add(java.lang.String value,
int count)
Adds a value if necessary and returns its value ID.
|
void |
combine(IUniqueValues pUniqueValues)
Combine another set of unique values.
|
void |
delete(double value)
Deletes a value.
|
void |
delete(int value)
Deletes a value.
|
void |
delete(java.lang.Object stringArray)
delete
|
void |
delete(java.lang.String value)
Deletes a value.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
void |
empty()
Empties unique values.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCount()
The total number of unique values.
|
void |
getHistogram(java.lang.Object[] pUniqueValues,
java.lang.Object[] pCounts)
The historgram of values.
|
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.
|
void |
getLargeHistogram(java.lang.Object[] pUniqueValues,
java.lang.Object[] pCounts)
The historgram of values.
|
double |
getLargeUniqueCount(int idnex)
The unique value count at a given index.
|
int |
getMax()
The maximum of values.
|
int |
getMin()
The minimum of values.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
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 |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
int |
lookup(double value)
Looks up unique index of a given value.
|
int |
lookup(int value)
Looks up unique index of a given value.
|
int |
lookup(java.lang.String value)
Looks up unique index of a given value.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public UniqueValues()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic UniqueValues(java.lang.Object obj)
throws java.io.IOException
UniqueValues theUniqueValues = (UniqueValues) obj;obj to UniqueValues.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic int lookup(int value)
throws java.io.IOException,
AutomationException
lookup in interface IUniqueValuesvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int add(int value,
int count)
throws java.io.IOException,
AutomationException
add in interface IUniqueValuesvalue - The value (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void delete(int value)
throws java.io.IOException,
AutomationException
delete in interface IUniqueValuesvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void empty()
throws java.io.IOException,
AutomationException
empty in interface IUniqueValuesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object getUniqueValue(int index)
throws java.io.IOException,
AutomationException
getUniqueValue in interface IUniqueValuesindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getUniqueCount(int idnex)
throws java.io.IOException,
AutomationException
getUniqueCount in interface IUniqueValuesidnex - The idnex (in)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 IUniqueValuesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMin()
throws java.io.IOException,
AutomationException
getMin in interface IUniqueValuesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMax()
throws java.io.IOException,
AutomationException
getMax in interface IUniqueValuesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getHistogram(java.lang.Object[] pUniqueValues,
java.lang.Object[] pCounts)
throws java.io.IOException,
AutomationException
getHistogram in interface IUniqueValuespUniqueValues - A Variant (out: use single element array)pCounts - A Variant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getLargeUniqueCount(int idnex)
throws java.io.IOException,
AutomationException
getLargeUniqueCount in interface IUniqueValues2idnex - The idnex (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getLargeHistogram(java.lang.Object[] pUniqueValues,
java.lang.Object[] pCounts)
throws java.io.IOException,
AutomationException
getLargeHistogram in interface IUniqueValues2pUniqueValues - A Variant (out: use single element array)pCounts - A Variant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int add(int value,
double count)
throws java.io.IOException,
AutomationException
add in interface IUniqueValues3value - The value (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void combine(IUniqueValues pUniqueValues) throws java.io.IOException, AutomationException
combine in interface IUniqueValues3pUniqueValues - A reference to a com.esri.arcgis.datasourcesraster.IUniqueValues (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int lookup(java.lang.String value)
throws java.io.IOException,
AutomationException
lookup in interface IUniqueStringValuesvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int add(java.lang.String value,
int count)
throws java.io.IOException,
AutomationException
add in interface IUniqueStringValuesvalue - The value (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void delete(java.lang.String value)
throws java.io.IOException,
AutomationException
delete in interface IUniqueStringValuesvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int add(java.lang.String value,
double count)
throws java.io.IOException,
AutomationException
add in interface IUniqueStringValues2value - The value (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int add(java.lang.Object stringArray,
int count)
throws java.io.IOException,
AutomationException
add in interface IUniqueMutliStringValuesstringArray - A Variant (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void delete(java.lang.Object stringArray)
throws java.io.IOException,
AutomationException
delete in interface IUniqueMutliStringValuesstringArray - A Variant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int lookup(double value)
throws java.io.IOException,
AutomationException
lookup in interface IUniqueDoubleValuesvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int add(double value,
int count)
throws java.io.IOException,
AutomationException
add in interface IUniqueDoubleValuesvalue - The value (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void delete(double value)
throws java.io.IOException,
AutomationException
delete in interface IUniqueDoubleValuesvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int add(double value,
double count)
throws java.io.IOException,
AutomationException
add in interface IUniqueDoubleValues2value - The value (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException