public class Address extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Address.Builder<T extends Address.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Address(String addr,
int version) |
Modifier and Type | Method and Description |
---|---|
static Address.Builder<?> |
builder() |
static Address |
createV4(String addr) |
static Address |
createV6(String addr) |
boolean |
equals(Object obj) |
String |
getAddr() |
int |
getVersion() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Address.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"addr","version"}) protected Address(String addr, int version)
public static Address.Builder<?> builder()
public Address.Builder<?> toBuilder()
public String getAddr()
public int getVersion()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.