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, xxDummy
IIDbcf576fb_5e01_4b39_b062_d5b167a2e3e5
IIDb2768ab2_e583_4ccf_831d_36237c2f520a
IID, IIDb39479e3_ec24_49ce_b268_556375700b8a, xxDummy
IID, IID066dd15a_3646_4c71_bedf_3b3c9dcb1e4a, xxDummy
IID, IIDf6a0372d_21fd_4167_ac40_270c7b2cfe56, xxDummy
IID, IIDd8d8e1ef_d10f_45e9_804a_dd1994c9afe3, xxDummy
IID, IIDe07d1c59_c0da_4a19_bdfa_c555ca4e0971, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, 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.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 int lookup(int value) throws java.io.IOException, AutomationException
lookup
in interface IUniqueValues
value
- 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 IUniqueValues
value
- 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 IUniqueValues
value
- 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 IUniqueValues
java.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 IUniqueValues
index
- 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 IUniqueValues
idnex
- 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 IUniqueValues
java.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 IUniqueValues
java.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 IUniqueValues
java.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 IUniqueValues
pUniqueValues
- 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 IUniqueValues2
idnex
- 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 IUniqueValues2
pUniqueValues
- 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 IUniqueValues3
value
- 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 IUniqueValues3
pUniqueValues
- 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 IUniqueStringValues
value
- 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 IUniqueStringValues
value
- 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 IUniqueStringValues
value
- 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 IUniqueStringValues2
value
- 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 IUniqueMutliStringValues
stringArray
- 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 IUniqueMutliStringValues
stringArray
- 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 IUniqueDoubleValues
value
- 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 IUniqueDoubleValues
value
- 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 IUniqueDoubleValues
value
- 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 IUniqueDoubleValues2
value
- 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 IPersist
pClassID
- 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 IPersistStream
java.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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IXMLSerialize
data
- 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 IXMLSerialize
data
- 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.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException