| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(MxRecord
the object to be compared. o)Implements java. Compares this object with the specified object for order. |
| public String | |
| public int | |
| public String |
| name | back to summary |
|---|---|
| private final String name | |
| priority | back to summary |
|---|---|
| private final int priority | |
| MxRecordImpl | back to summary |
|---|---|
| public MxRecordImpl(int priority, String name) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(MxRecord o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| name | back to summary |
|---|---|
| public String name() Implements io. Doc from io. The name of the MX record
| |
| priority | back to summary |
|---|---|
| public int priority() Implements io. Doc from io. The priority of the MX record.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |