Package org.apache.hadoop.hbase.util
Class ByteBufferUtils.CommonPrefixerHolder.UnsafeCommonPrefixer
java.lang.Object
org.apache.hadoop.hbase.util.ByteBufferUtils.CommonPrefixer
org.apache.hadoop.hbase.util.ByteBufferUtils.CommonPrefixerHolder.UnsafeCommonPrefixer
- Enclosing class:
- ByteBufferUtils.CommonPrefixerHolder
static final class ByteBufferUtils.CommonPrefixerHolder.UnsafeCommonPrefixer
extends ByteBufferUtils.CommonPrefixer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
findCommonPrefix
(ByteBuffer left, int leftOffset, int leftLength, byte[] right, int rightOffset, int rightLength) int
findCommonPrefix
(ByteBuffer left, int leftOffset, int leftLength, ByteBuffer right, int rightOffset, int rightLength)
-
Constructor Details
-
UnsafeCommonPrefixer
public UnsafeCommonPrefixer()
-
-
Method Details
-
findCommonPrefix
public int findCommonPrefix(ByteBuffer left, int leftOffset, int leftLength, byte[] right, int rightOffset, int rightLength) - Specified by:
findCommonPrefix
in classByteBufferUtils.CommonPrefixer
-
findCommonPrefix
public int findCommonPrefix(ByteBuffer left, int leftOffset, int leftLength, ByteBuffer right, int rightOffset, int rightLength) - Specified by:
findCommonPrefix
in classByteBufferUtils.CommonPrefixer
-