public final class Address extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ANY |
static String |
LOCALHOST |
static char |
SEPARATOR |
| Constructor and Description |
|---|
Address(int port) |
Address(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getHost() |
int |
getPort() |
int |
hashCode() |
static Address |
of(String hostPort) |
String |
toString() |
public static final String LOCALHOST
public static final String ANY
public static final char SEPARATOR
public Address(int port)
public Address(String host, int port)
public String getHost()
public int getPort()
Copyright © 2016. All rights reserved.