|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface of various network address, such as socket address or P2P keys.
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Test whether two addresses are equals. |
int |
getEncoding()
Return the encoding of this address. |
int |
hashCode()
Return the hash code of this address. |
byte[] |
toBytes()
Return the byte array representation of this address. |
java.lang.String |
toString()
Return the string representation of this address. |
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectpublic byte[] toBytes()
public int getEncoding()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||