Java Code Examples for org.omg.CORBA.portable.InputStream#read_float()
The following examples show how to use
org.omg.CORBA.portable.InputStream#read_float() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CorbaObjectWriterTest.java From cxf with Apache License 2.0 | 5 votes |
@Test public void testWriteFloat() { OutputStream oStream = orb.create_output_stream(); CorbaObjectWriter writer = new CorbaObjectWriter(oStream); Float floatValue = Float.valueOf((float)123456.78); writer.writeFloat(floatValue); InputStream iStream = oStream.create_input_stream(); float f = iStream.read_float(); assertTrue(f == floatValue.floatValue()); }
Example 2
Source File: FloatHolder.java From jdk1.8-source-analysis with Apache License 2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 3
Source File: FloatHolder.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 4
Source File: FloatHolder.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 5
Source File: FloatHolder.java From JDKSourceCode1.8 with MIT License | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 6
Source File: FloatHolder.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 7
Source File: FloatHolder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 8
Source File: FloatHolder.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the {@code InputStream} to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 9
Source File: FloatHolder.java From Java8CN with Apache License 2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 10
Source File: FloatHolder.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 11
Source File: FloatHolder.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }
Example 12
Source File: FloatHolder.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Read a float from an input stream and initialize the value * member with the float value. * * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_float(); }