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>
- Author:
- Oleksiy Yarmula
Constructor Summary |
IpPortPair()
A no-args constructor is required for deserialization |
IpPortPair(Ip ip,
int port)
|
IpPortPair
public IpPortPair()
- A no-args constructor is required for deserialization
IpPortPair
public IpPortPair(Ip ip,
int port)
getIp
public Ip getIp()
getPort
public int getPort()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(IpPortPair o)
- Specified by:
compareTo
in interface Comparable<IpPortPair>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.