ObjectOutputStream.writeObject()

Discussion in 'Java' started by Dave, Nov 1, 2005.

  1. Dave

    Dave Guest

    Hi,

    In the javadocs for ObjectOutputStream, writeUnsharedObject() is
    described as writing the passed object uniquely, but potentially
    sharing any member objects declared beneath it.

    Does anyone know if an array is considered the same as a basic object
    here? Will it be shared with another array if it is duplicate as a
    basic object is?


    Thanks,
    Dave
     
    Dave, Nov 1, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kaidi
    Replies:
    4
    Views:
    2,382
    Kaidi
    Jan 3, 2004
  2. Andreas N Rasmussen

    Writing an ObjectOutputStream to a String

    Andreas N Rasmussen, Jan 18, 2004, in forum: Java
    Replies:
    2
    Views:
    2,310
    Jon A. Cruz
    Jan 19, 2004
  3. Jonn
    Replies:
    2
    Views:
    2,642
    perry
    May 24, 2004
  4. Kiran Kumar Kamineni

    How do I use ObjectOutputStream with my objects?

    Kiran Kumar Kamineni, Sep 27, 2004, in forum: Java
    Replies:
    2
    Views:
    340
    Luca Paganelli
    Sep 27, 2004
  5. Replies:
    6
    Views:
    2,564
    John C. Bollinger
    Oct 28, 2005
Loading...

Share This Page