Package org.jclouds.gogrid.domain
Class IpPortPair
- java.lang.Object
-
- org.jclouds.gogrid.domain.IpPortPair
-
- All Implemented Interfaces:
Comparable<IpPortPair>
public class IpPortPair extends Object implements Comparable<IpPortPair>
Class IpPortPair
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IpPortPair.Builder<T extends IpPortPair.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
IpPortPair(Ip ip, int port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpPortPair.Builder<?>
builder()
int
compareTo(IpPortPair o)
boolean
equals(Object obj)
Ip
getIp()
int
getPort()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
IpPortPair.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
IpPortPair
@ConstructorProperties({"ip","port"}) protected IpPortPair(Ip ip, int port)
-
-
Method Detail
-
builder
public static IpPortPair.Builder<?> builder()
-
toBuilder
public IpPortPair.Builder<?> toBuilder()
-
getIp
public Ip getIp()
-
getPort
public int getPort()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(IpPortPair o)
- Specified by:
compareTo
in interfaceComparable<IpPortPair>
-
-