Package com.sleepycat.bind.tuple

Examples of com.sleepycat.bind.tuple.FloatBinding


        FloatBinding.floatToEntry((float) 123.123, entry);
  assertEquals(4, entry.getData().length);
        assertTrue(((float) 123.123) == FloatBinding.entryToFloat(entry));

        new FloatBinding().objectToEntry(new Float((float) 123.123), entry);
  assertEquals(4, entry.getData().length);

        DoubleBinding.doubleToEntry(123.123, entry);
  assertEquals(8, entry.getData().length);
        assertTrue(123.123 == DoubleBinding.entryToDouble(entry));
View Full Code Here


        FloatBinding.floatToEntry((float) 123.123, entry);
  assertEquals(4, entry.getData().length);
        assertTrue(((float) 123.123) == FloatBinding.entryToFloat(entry));

        new FloatBinding().objectToEntry(new Float((float) 123.123), entry);
  assertEquals(4, entry.getData().length);

        DoubleBinding.doubleToEntry(123.123, entry);
  assertEquals(8, entry.getData().length);
        assertTrue(123.123 == DoubleBinding.entryToDouble(entry));
View Full Code Here

TOP

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

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.