Article View: borland.public.jbuilder.java.language
Article #15236Determining calling object in a method
From: Lars Roe
Date: Fri, 25 Jun 1999 00:00
Date: Fri, 25 Jun 1999 00:00
14 lines
806 bytes
806 bytes
Hello, I noticed that ObjectOutputStream has a method writeDefaultObject() which knows the object that called it. How can it know without being passed a reference? Is this an exceptional case? Can I make a method which can do this? tia, lars -- Lars Roe roex0029@tc.umn.edu
Technical Details
Message-ID:
<37738E47.FAFC9C95@tc.umn.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,35fb45e4362913c X-Google-Attributes: gidf74b3,public From: Lars Roe <roex0029@tc.umn.edu> Subject: Determining calling object in a method Date: 1999/06/25 Message-ID: <37738E47.FAFC9C95@tc.umn.edu> X-Deja-AN: 493776582 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: UM Mime-Version: 1.0 Reply-To: Lars.W.Roe-1@tc.umn.edu Newsgroups: borland.public.jbuilder.java.language