public final class NodeAddressImpl extends Object implements NodeAddress
| Constructor and Description |
|---|
NodeAddressImpl(NodeAddressBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Two node addresses are considered equal, if hosts and ports are equal.
|
String |
getHost() |
int |
getPort() |
int |
hashCode()
Two node addresses with equal hosts and ports produce the same hash code.
|
String |
toHostUriString() |
String |
toString() |
String |
toUriString() |
public NodeAddressImpl(NodeAddressBuilder builder)
public int getPort()
getPort in interface NodeAddresspublic String getHost()
getHost in interface NodeAddresspublic int hashCode()
NodeAddresshashCode in interface NodeAddresshashCode in class Objectpublic boolean equals(Object obj)
NodeAddressequals in interface NodeAddressequals in class Objectpublic String toUriString()
toUriString in interface NodeAddresspublic String toHostUriString()
toHostUriString in interface NodeAddressCopyright © 2013–2019 mklinger GmbH. All rights reserved.