Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestBytes() |
public static final HBaseClassTestRule CLASS_RULE
public TestBytes()
public void testShortUnsafe() throws Exception
Exception
public void testNullHashCode()
public void testAdd()
public void testSplit()
public void testSplit2()
public void testSplit3()
public void testToInt()
public void testToLong()
public void testToFloat()
public void testToDouble()
public void testToBigDecimal()
private byte[] bytesWithOffset(byte[] src)
public void testToBytesForByteBuffer()
public void testGetBytesForByteBuffer()
public void testReadAsVLong() throws Exception
Exception
public void testToStringBinaryForBytes()
public void testToStringBinaryForArrayBasedByteBuffer()
public void testToStringBinaryForReadOnlyByteBuffer()
public void testBinarySearch()
public void testToStringBytesBinaryReversible()
private void verifyReversibleForBytes(byte[] originalBytes)
public void testStartsWith()
public void testIncrementBytes()
private static boolean checkTestIncrementBytes(long val, long amount)
public void testFixedSizeString() throws IOException
IOException
public void testCopy()
public void testToBytesBinaryTrailingBackslashes()
public void testToStringBinary_toBytesBinary_Reversable()
public void testUnsignedBinarySearch()
public void testUnsignedIncrement()
public void testIndexOf()
public void testContains()
public void testZero()
public void testPutBuffer()
public void testToFromHex()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.