public class TopicPartitionComparator extends Object implements Comparator<org.apache.kafka.common.TopicPartition>
Modifier and Type | Field and Description |
---|---|
static TopicPartitionComparator |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(org.apache.kafka.common.TopicPartition o1,
org.apache.kafka.common.TopicPartition o2) |
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 static final TopicPartitionComparator INSTANCE
public int compare(org.apache.kafka.common.TopicPartition o1, org.apache.kafka.common.TopicPartition o2)
compare
in interface Comparator<org.apache.kafka.common.TopicPartition>
Copyright © 2023 The Apache Software Foundation. All rights reserved.