public class Broker extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Broker>
Constructor and Description |
---|
Broker(java.lang.String host) |
Broker(java.lang.String host,
int port) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Broker o) |
boolean |
equals(java.lang.Object obj) |
static Broker |
fromString(java.lang.String host) |
int |
hashCode() |
java.lang.String |
toString() |
public Broker(java.lang.String host, int port)
public Broker(java.lang.String host)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static Broker fromString(java.lang.String host)