Package org.apache.hadoop.hbase.util
Class ByteBufferUtils.CommonPrefixerHolder.PureJavaCommonPrefixer
java.lang.Object
org.apache.hadoop.hbase.util.ByteBufferUtils.CommonPrefixer
org.apache.hadoop.hbase.util.ByteBufferUtils.CommonPrefixerHolder.PureJavaCommonPrefixer
- Enclosing class:
- ByteBufferUtils.CommonPrefixerHolder
static final class ByteBufferUtils.CommonPrefixerHolder.PureJavaCommonPrefixer
extends ByteBufferUtils.CommonPrefixer
-
Field Summary
Modifier and TypeFieldDescription(package private) static final ByteBufferUtils.CommonPrefixerHolder.PureJavaCommonPrefixer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
findCommonPrefix
(ByteBuffer left, int leftOffset, int leftLength, byte[] right, int rightOffset, int rightLength) (package private) int
findCommonPrefix
(ByteBuffer left, int leftOffset, int leftLength, ByteBuffer right, int rightOffset, int rightLength)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PureJavaCommonPrefixer
private PureJavaCommonPrefixer()
-
-
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
int findCommonPrefix(ByteBuffer left, int leftOffset, int leftLength, ByteBuffer right, int rightOffset, int rightLength) - Specified by:
findCommonPrefix
in classByteBufferUtils.CommonPrefixer
-