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,
String macAddr,
String type) |
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() |
com.google.common.base.Optional<String> |
getMacAddr() |
com.google.common.base.Optional<String> |
getType() |
int |
getVersion() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Address.Builder<?> |
toBuilder() |
String |
toString() |
public static Address.Builder<?> builder()
public Address.Builder<?> toBuilder()
public String getAddr()
public int getVersion()
public com.google.common.base.Optional<String> getMacAddr()
public com.google.common.base.Optional<String> getType()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.