public static class KafkaTopicPartition.Comparator extends Object implements Comparator<KafkaTopicPartition>
Comparator
for KafkaTopicPartition
s.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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(KafkaTopicPartition p1, KafkaTopicPartition p2)
compare
in interface Comparator<KafkaTopicPartition>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.