|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.spot.peripheral.radio.mhrp.RouteInfo
RouteInfo
public class RouteInfo
| Field Summary | |
|---|---|
long |
destination
Deprecated. |
int |
hopCount
Deprecated. |
long |
nextHop
Deprecated. |
| Constructor Summary | |
|---|---|
RouteInfo(long destination,
long nextHop,
int hopCount)
Deprecated. |
|
| Method Summary | |
|---|---|
static RouteInfo |
fromString(String s)
Deprecated. |
long |
getDestination()
Deprecated. |
String |
toString()
Deprecated. Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long destination
public long nextHop
public int hopCount
| Constructor Detail |
|---|
public RouteInfo(long destination,
long nextHop,
int hopCount)
| Method Detail |
|---|
public long getDestination()
public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Objectpublic static RouteInfo fromString(String s)
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||