|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This defines an interface for address implementations. It is extended by the interfaces I_PhysicalAddress/I_LogicalAddress. See classes HC_LogicalAddress/IP_Address where these interfaces are actual implemented.
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks if an object equals this I_Address . |
int |
getSize()
Returns the byte array size used to hold this I_Address |
boolean |
greaterThan(hypercast.I_Address a)
Checks if an I_address object is greater than this one. |
int |
hashCode()
Returns the hashcode of this object |
byte[] |
toByteArray()
Converts this I_Address to a byte array |
Method Detail |
public boolean equals(java.lang.Object o)
o
is null, false is returned.
equals
in class java.lang.Object
java.lang.IllegalArgumentException
- if Object is not of same type.public boolean greaterThan(hypercast.I_Address a)
java.lang.IllegalArgumentException
- if I_Address is not of same type.
java.lang.IllegalArgumentException
- if I_Address is null.public byte[] toByteArray()
public int getSize()
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |