< prev index next >

src/java.corba/share/classes/org/omg/CORBA/FixedHolder.java

Print this page

        

*** 29,39 **** import org.omg.CORBA.portable.InputStream; import org.omg.CORBA.portable.OutputStream; /** ! * The Holder for <tt>Fixed</tt>. For more information on * Holder files, see <a href="doc-files/generatedfiles.html#holder"> * "Generated Files: Holder Files"</a>.<P> * FixedHolder is a container class for values of IDL type "fixed", * which is mapped to the Java class java.math.BigDecimal. * It is usually used to store "out" and "inout" IDL method parameters. --- 29,39 ---- import org.omg.CORBA.portable.InputStream; import org.omg.CORBA.portable.OutputStream; /** ! * The Holder for {@code Fixed}. For more information on * Holder files, see <a href="doc-files/generatedfiles.html#holder"> * "Generated Files: Holder Files"</a>.<P> * FixedHolder is a container class for values of IDL type "fixed", * which is mapped to the Java class java.math.BigDecimal. * It is usually used to store "out" and "inout" IDL method parameters.
*** 67,97 **** /** * Read a fixed point value from the input stream and store it in * the value member. * ! * @param input the <code>InputStream</code> to read from. */ public void _read(InputStream input) { value = input.read_fixed(); } /** * Write the fixed point value stored in this holder to an ! * <code>OutputStream</code>. * ! * @param output the <code>OutputStream</code> to write into. */ public void _write(OutputStream output) { output.write_fixed(value); } /** ! * Return the <code>TypeCode</code> of this holder object. * ! * @return the <code>TypeCode</code> object. */ public org.omg.CORBA.TypeCode _type() { return ORB.init().get_primitive_tc(TCKind.tk_fixed); } --- 67,97 ---- /** * Read a fixed point value from the input stream and store it in * the value member. * ! * @param input the {@code InputStream} to read from. */ public void _read(InputStream input) { value = input.read_fixed(); } /** * Write the fixed point value stored in this holder to an ! * {@code OutputStream}. * ! * @param output the {@code OutputStream} to write into. */ public void _write(OutputStream output) { output.write_fixed(value); } /** ! * Return the {@code TypeCode} of this holder object. * ! * @return the {@code TypeCode} object. */ public org.omg.CORBA.TypeCode _type() { return ORB.init().get_primitive_tc(TCKind.tk_fixed); }
< prev index next >