class CorbaObjectWriter {

    public void writeDouble(Double d) throws CorbaBindingException {
        if (d == null) {
            stream.write_double(0.0);
        } else {
            stream.write_double(d.doubleValue());
        }
    }

    public  CorbaObjectWriter(OutputStream outStream);

}