|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.server.ServerStatisticsArray
public class ServerStatisticsArray
The ServerStatisticsArray object which returns an array of a specific statistic over a range of time periods.
| Constructor Summary | |
|---|---|
ServerStatisticsArray(Object obj)
Construct a ServerStatisticsArray using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
add(double element)
Adds an element to the array. |
boolean |
equals(Object o)
Compare this object with another |
int |
getCount()
The number of elements in the array. |
double |
getElement(int index)
An element from the array. |
Date |
getEndTime()
The end time for the period that the statistics represent. |
Date |
getStartTime()
The start time for the period that the statistics represent. |
int |
hashCode()
the hashcode for this object |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ServerStatisticsArray(Object obj)
throws IOException
obj to ServerStatisticsArray. *
ServerStatisticsArray o = (ServerStatisticsArray)obj; // will not work
ServerStatisticsArray o = new ServerStatisticsArray(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
ServerStatisticsArray theServerStatisticsArray = (ServerStatisticsArray) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getCount()
throws IOException,
AutomationException
Returns the number of elements in the array.
getCount in interface IDoubleArrayIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(int index)
throws IOException,
AutomationException
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.
remove in interface IDoubleArrayindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAll()
throws IOException,
AutomationException
Removes all of the elements from the array.
removeAll in interface IDoubleArrayIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getElement(int index)
throws IOException,
AutomationException
getElement in interface IDoubleArrayindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setElement(int index,
double pElement)
throws IOException,
AutomationException
setElement in interface IDoubleArrayindex - The index (in)pElement - The pElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void add(double element)
throws IOException,
AutomationException
Adds the element to the end of the array.
add in interface IDoubleArrayelement - The element (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void insert(int index,
double element)
throws IOException,
AutomationException
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.
insert in interface IDoubleArrayindex - The index (in)element - The element (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Date getStartTime()
throws IOException,
AutomationException
getStartTime in interface IServerTimeRangeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Date getEndTime()
throws IOException,
AutomationException
getEndTime in interface IServerTimeRangeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||