|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.util.AddrPortListMgr.EntryBlock
Class EntryBlock holds a host-address string and a port number value.
Field Summary | |
java.lang.String |
hostAddrStr
Host address string. |
int |
portNumber
Port number value. |
Constructor Summary | |
AddrPortListMgr.EntryBlock(java.lang.String hostAddrStr,
int portNumber)
Creates a data-block that holds a host-address string and a port number value. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares the given object to this one. |
boolean |
equals(java.lang.String hostAddr,
int portNum)
Compares the given host-address/port-number to those held by this object. |
int |
hashCode()
Returns the hash code value for this object. |
java.lang.String |
toString()
Returns a string representation of this data-block. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final java.lang.String hostAddrStr
public final int portNumber
Constructor Detail |
public AddrPortListMgr.EntryBlock(java.lang.String hostAddrStr, int portNumber)
hostAddrStr
- the host address string to use.portNumber
- the port number to use.Method Detail |
public boolean equals(java.lang.Object obj)
obj
- the object to compare.
public boolean equals(java.lang.String hostAddr, int portNum)
hostAddr
- the host address to use.portNum
- the port number to use.
public int hashCode()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |