|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Addressable
Interface that all address classes must implement.
All address classes must implement the Addressable interface. In addition
all address classes must implement the equals( Object obj )
and
hashCode()
methods. These methods are used to establish address
equality and for ordering of addresses.
Mac64Address
,
BroadcastAddress
,
UnknownAddress
Method Summary | |
---|---|
boolean |
equals(Object obj)
Returns true if the input object is equal to this one. |
int |
hashCode()
Returns the hash code value for this object. |
Method Detail |
---|
boolean equals(Object obj)
equals
in class Object
int hashCode()
equals(Object)
method, then
calling hashCode()
on each object should result in the same integer result.
hashCode
in class Object
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |