com.esri.arcgis.system
Interface IDoubleArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
DoubleArray, IDoubleArrayProxy, ServerStatisticsArray

public interface IDoubleArray
extends Serializable

Provides access to members that control double arrays.

Description

The IDoubleArray interface provides methods and properties for inserting, removing and accessing elements in a DoubleArray via a zero-based index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void add(double element)
          Adds an element to the array.
 int getCount()
          The number of elements in the array.
 double getElement(int index)
          An element from the array.
 void insert(int index, double element)
          Inserts an element to the array.
 void remove(int index)
          Removes an element from the array.
 void removeAll()
          Removes all elements from the array.
 void setElement(int index, double pElement)
          An element from the array.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of elements in the array.

Description

Returns the number of elements in the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes an element from the array.

Description

Removes the element at the specified index from the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all elements from the array.

Description

Removes all of the elements from the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getElement

double getElement(int index)
                  throws IOException,
                         AutomationException
An element from the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setElement

void setElement(int index,
                double pElement)
                throws IOException,
                       AutomationException
An element from the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

add

void add(double element)
         throws IOException,
                AutomationException
Adds an element to the array.

Description

Adds the element to the end of the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

insert

void insert(int index,
            double element)
            throws IOException,
                   AutomationException
Inserts an element to the array.

Description

Adds the element to the array at the specified index. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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