public class TestImmutableBytesWritable extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestImmutableBytesWritable() |
Modifier and Type | Method and Description |
---|---|
private void |
doComparisonsOnObjects(org.apache.hadoop.hbase.io.ImmutableBytesWritable a,
org.apache.hadoop.hbase.io.ImmutableBytesWritable b,
int expectedSignum) |
private void |
doComparisonsOnRaw(org.apache.hadoop.hbase.io.ImmutableBytesWritable a,
org.apache.hadoop.hbase.io.ImmutableBytesWritable b,
int expectedSignum) |
private void |
runTests(String aStr,
String bStr,
int signum) |
private int |
signum(int i) |
void |
testComparison() |
void |
testHash() |
void |
testSpecificCompare() |
public static final HBaseClassTestRule CLASS_RULE
public TestImmutableBytesWritable()
public void testSpecificCompare()
public void testComparison() throws Exception
Exception
private void runTests(String aStr, String bStr, int signum) throws Exception
Exception
private int signum(int i)
private void doComparisonsOnRaw(org.apache.hadoop.hbase.io.ImmutableBytesWritable a, org.apache.hadoop.hbase.io.ImmutableBytesWritable b, int expectedSignum) throws IOException
IOException
private void doComparisonsOnObjects(org.apache.hadoop.hbase.io.ImmutableBytesWritable a, org.apache.hadoop.hbase.io.ImmutableBytesWritable b, int expectedSignum)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.