Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.7.1 Javadoc
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jivesoftware.openfire.net
Class DNSUtil.SrvRecordWeightedPriorityComparator

    java.lang.Object
      org.jivesoftware.openfire.net.DNSUtil.SrvRecordWeightedPriorityComparator

All Implemented Interfaces:
  Serializable, Comparator<DNSUtil.HostAddress>

Enclosing class:
  DNSUtil

    public static class DNSUtil.SrvRecordWeightedPriorityComparator

extends Object
implements Comparator<DNSUtil.HostAddress>, Serializable

A comparator for sorting multiple weighted host addresses according to RFC 2782.

See Also:
  Serialized Form

Constructor Summary
`DNSUtil.SrvRecordWeightedPriorityComparator()`

Method Summary
`int` | `compare(DNSUtil.HostAddress o1, DNSUtil.HostAddress o2)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.util.Comparator
`equals`

Constructor Detail

### DNSUtil.SrvRecordWeightedPriorityComparator

    public DNSUtil.SrvRecordWeightedPriorityComparator()

Method Detail

### compare

    public int compare(DNSUtil.HostAddress o1,
                       DNSUtil.HostAddress o2)

  Specified by:
    `compare` in interface `Comparator<DNSUtil.HostAddress>`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.7.1 Javadoc
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2008 Jive Software.