public class HostAndPort extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOCALHOST_STR |
Constructor and Description |
---|
HostAndPort(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getHost() |
int |
getPort() |
int |
hashCode() |
String |
toString() |
public static final String LOCALHOST_STR
public HostAndPort(String host, int port)
Copyright © 2015. All rights reserved.