|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sentilla.net.Mac64Address
public class Mac64Address
Address class for the mote MAC address.
Addressable
,
Address
,
Serialized FormConstructor Summary | |
---|---|
Mac64Address(long addr)
Create a new Mac64Address with 64-bit address addr. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Returns ture if obj is equal to this , false
otherwise. |
static Mac64Address |
getLocalAddress()
Get the local Mac64Address for this platform. |
int |
hashCode()
Returns the hash code of the Mac64Address object. |
long |
longValue()
Returns the 64-bit address as a long. |
static Mac64Address |
valueOf(long addr)
Returns a new Mac64Address with 64-bit address addr. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mac64Address(long addr)
addr
- the 64-bit addressMethod Detail |
---|
public long longValue()
public static Mac64Address valueOf(long addr)
addr
- the 64-bit address
public boolean equals(Object obj)
obj
is equal to this
, false
otherwise.
equals
in interface Addressable
equals
in class Object
obj
- the object to compare for equality
Boolean.hashCode()
,
Hashtable
public int hashCode()
hashCode
in interface Addressable
hashCode
in class Object
Object.equals(java.lang.Object)
,
Hashtable
public static Mac64Address getLocalAddress()
Addressable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |