public static class KafkaTopicPartition.Comparator extends Object implements Comparator<KafkaTopicPartition>
Comparator for KafkaTopicPartitions.| Constructor and Description |
|---|
Comparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(KafkaTopicPartition p1,
KafkaTopicPartition p2) |
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, thenComparingLongpublic int compare(KafkaTopicPartition p1, KafkaTopicPartition p2)
compare in interface Comparator<KafkaTopicPartition>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.