< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantDouble.java

Print this page

        

*** 28,38 **** /** * This class is derived from the abstract {@link Constant} * and represents a reference to a Double object. * - * @version $Id$ * @see Constant * @LastModified: Jun 2019 */ public final class ConstantDouble extends Constant implements ConstantObject { --- 28,37 ----
*** 85,121 **** * * @param file Output file stream * @throws IOException */ @Override ! public final void dump( final DataOutputStream file ) throws IOException { file.writeByte(super.getTag()); file.writeDouble(bytes); } /** * @return data, i.e., 8 bytes. */ ! public final double getBytes() { return bytes; } /** * @param bytes the raw bytes that represent the double value */ ! public final void setBytes( final double bytes ) { this.bytes = bytes; } /** * @return String representation. */ @Override ! public final String toString() { return super.toString() + "(bytes = " + bytes + ")"; } /** @return Double object --- 84,120 ---- * * @param file Output file stream * @throws IOException */ @Override ! public void dump( final DataOutputStream file ) throws IOException { file.writeByte(super.getTag()); file.writeDouble(bytes); } /** * @return data, i.e., 8 bytes. */ ! public double getBytes() { return bytes; } /** * @param bytes the raw bytes that represent the double value */ ! public void setBytes( final double bytes ) { this.bytes = bytes; } /** * @return String representation. */ @Override ! public String toString() { return super.toString() + "(bytes = " + bytes + ")"; } /** @return Double object
< prev index next >