Package com.sleepycat.bind.tuple

Examples of com.sleepycat.bind.tuple.ByteBinding


        ShortBinding.shortToEntry((short) 123, entry);
  assertEquals(2, entry.getData().length);
        assertEquals((short) 123, ShortBinding.entryToShort(entry));

        new ByteBinding().objectToEntry(new Byte((byte) 123), entry);
  assertEquals(1, entry.getData().length);

        IntegerBinding.intToEntry(123, entry);
  assertEquals(4, entry.getData().length);
        assertEquals(123, IntegerBinding.entryToInt(entry));
View Full Code Here


        ShortBinding.shortToEntry((short) 123, entry);
  assertEquals(2, entry.getData().length);
        assertEquals((short) 123, ShortBinding.entryToShort(entry));

        new ByteBinding().objectToEntry(new Byte((byte) 123), entry);
  assertEquals(1, entry.getData().length);

        IntegerBinding.intToEntry(123, entry);
  assertEquals(4, entry.getData().length);
        assertEquals(123, IntegerBinding.entryToInt(entry));
View Full Code Here

TOP

Related Classes of com.sleepycat.bind.tuple.ByteBinding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.