|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.EnumNetworkElement
public class EnumNetworkElement
A container for network elements.
The EnumNetworkElement object is a collection of network element objects. The network element objects can be retrieved one by one by repeatedly calling the Next method on the IEnumNetworkElement interface.
Constructor Summary | |
---|---|
EnumNetworkElement(Object obj)
Construct a EnumNetworkElement using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
hashCode()
the hashcode for this object |
INetworkElement |
next()
Moves the enumerator forward and returns the network element pointed by the enumerator using query semantics. |
void |
reset()
Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration. |
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 EnumNetworkElement(Object obj) throws IOException
obj
to EnumNetworkElement
. *
EnumNetworkElement o = (EnumNetworkElement)obj; // will not work
EnumNetworkElement o = new EnumNetworkElement(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
EnumNetworkElement theEnumNetworkElement = (EnumNetworkElement) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void reset() throws IOException, AutomationException
reset
in interface IEnumNetworkElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetworkElement next() throws IOException, AutomationException
next
in interface IEnumNetworkElement
IOException
- 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 |