public final class Address extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ANY |
String |
host |
static String |
LOCALHOST |
int |
port |
static char |
SEPARATOR |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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 final String host
public final int port
public Address(String host, int port)
Copyright © 2016. All rights reserved.