@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface RawComparable
RawComparator
.
This is useful in places where we need a single object reference to specify a
range of bytes in a byte array, such as Comparable
or
Collections.binarySearch(java.util.List, Object, Comparator)
The actual comparison among RawComparable's requires an external
RawComparator and it is applications' responsibility to ensure two
RawComparable are supposed to be semantically comparable with the same
RawComparator.byte[] buffer()
int offset()
int size()
Copyright © 2017 Apache Software Foundation. All rights reserved.