Package org.apache.kafka.common.utils
Interface Bytes.ByteArrayComparator
- All Superinterfaces:
Comparator<byte[]>,Serializable
- Enclosing class:
- Bytes
@Deprecated(since="4.3",
forRemoval=true)
public static interface Bytes.ByteArrayComparator
extends Comparator<byte[]>, Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
A byte array comparator interface.
-
Method Summary
Modifier and TypeMethodDescriptionintcompare(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
compare
int compare(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2) Deprecated, for removal: This API element is subject to removal in a future version.
-
BytesUtils.ByteArrayComparatorinstead.