java.lang.Comparable<VmPipeAddress>
public class VmPipeAddress extends java.net.SocketAddress implements java.lang.Comparable<VmPipeAddress>
SocketAddress
which represents in-VM pipe port number.Constructor | Description |
---|---|
VmPipeAddress(int port) |
Creates a new instance with the specifid port number.
|
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(VmPipeAddress o) |
|
boolean |
equals(java.lang.Object o) |
|
int |
getPort() |
Returns the port number.
|
int |
hashCode() |
|
java.lang.String |
toString() |
public VmPipeAddress(int port)
public int getPort()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(VmPipeAddress o)
compareTo
in interface java.lang.Comparable<VmPipeAddress>
public java.lang.String toString()
toString
in class java.lang.Object