|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalysis.StringPair
public class StringPair
A container for specifying an ordered pair of strings.
Constructor Summary | |
---|---|
StringPair()
Constructs a StringPair using ArcGIS Engine. |
|
StringPair(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. StringPair theStringPair = (StringPair) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getFirstString()
The first string in the pair. |
String |
getSecondString()
The second string in the pair. |
int |
hashCode()
the hashcode for this object |
void |
setFirstString(String firstString)
The first string in the pair. |
void |
setSecondString(String secondString)
The second string in the pair. |
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 StringPair() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic StringPair(Object obj) throws IOException
StringPair theStringPair = (StringPair) obj;
obj
to StringPair
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getFirstString() throws IOException, AutomationException
getFirstString
in interface IStringPair
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSecondString() throws IOException, AutomationException
getSecondString
in interface IStringPair
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFirstString(String firstString) throws IOException, AutomationException
setFirstString
in interface IStringPair
firstString
- The firstString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSecondString(String secondString) throws IOException, AutomationException
setSecondString
in interface IStringPair
secondString
- The secondString (in)
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 |