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.
This interface is not part of the public API and will be removed in version 5.0. Internal Kafka code should use BytesUtils.ByteArrayComparator instead.
A byte array comparator interface.
  • 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.