private static class SrvKetamaClient.HostAndPortComparator extends Object implements Comparator<com.google.common.net.HostAndPort>
| Modifier and Type | Field and Description |
|---|---|
private static SrvKetamaClient.HostAndPortComparator |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
private |
HostAndPortComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(com.google.common.net.HostAndPort o1,
com.google.common.net.HostAndPort o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate static final SrvKetamaClient.HostAndPortComparator INSTANCE
public int compare(com.google.common.net.HostAndPort o1,
com.google.common.net.HostAndPort o2)
compare in interface Comparator<com.google.common.net.HostAndPort>Copyright © 2017 Spotify AB. All Rights Reserved.