Located in compilation unit of sun.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Object | |
| private final int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | KeepAliveKey(URL
the URL containing the protocol, host and port information url, Object obj)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Determine whether or not two objects of this type are equal |
| public int | hashCode()
Overrides java. The hashCode() for this object is the string hashCode() of concatenation of the protocol, host name and port. |
| host | back to summary |
|---|---|
| private final String host | |
| obj | back to summary |
|---|---|
| private final Object obj | |
| port | back to summary |
|---|---|
| private final int port | |
| protocol | back to summary |
|---|---|
| private final String protocol | |
| KeepAliveKey | back to summary |
|---|---|
| public KeepAliveKey(URL url, Object obj) Constructor
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Determine whether or not two objects of this type are equal
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. The hashCode() for this object is the string hashCode() of concatenation of the protocol, host name and port.
| |