);
        to.writeString(inventory.getVendor());
        to.writeInt(inventory.getVendorInventory());
        to.writeFloat(inventory.getVendorPrice());
    }
} </pre>
        </div>
      </div>
      <br class="example-break" />
      <p>
        In order to store the data identified above, we write the
        <code class="classname">ExampleDatabaseLoad</code> application. This application
        loads the inventory and vendor databases for you.
    </p>
      <p>
        Inventory information is store