com.esri.arcgis.networkanalyst
Class EnumNALocation

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.EnumNALocation
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IEnumNALocation, Serializable

public class EnumNALocation
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumNALocation

An iterator for network locations.

Remarks

The EnumNALocation is a collection class for NALocation objects.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumNALocation()
          Constructs a EnumNALocation using ArcGIS Engine.
EnumNALocation(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumNALocation theEnumNALocation = (EnumNALocation) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 INALocation next()
          Fetch the next item in the collection.
 void reset()
          Reset the collection back to the first item.
 
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

EnumNALocation

public EnumNALocation()
               throws IOException,
                      UnknownHostException
Constructs a EnumNALocation using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

EnumNALocation

public EnumNALocation(Object obj)
               throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumNALocation theEnumNALocation = (EnumNALocation) obj;

Construct a EnumNALocation using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EnumNALocation.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

next

public INALocation next()
                 throws IOException,
                        AutomationException
Fetch the next item in the collection.

Remarks

Next returns the next NALocation in the enumerator.

Product Availability

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

Specified by:
next in interface IEnumNALocation
Returns:
A reference to a com.esri.arcgis.networkanalyst.INALocation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Reset the collection back to the first item.

Remarks

Reset sets the enumerator back to the first NALocation.

Product Availability

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

Specified by:
reset in interface IEnumNALocation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.