🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15235

Determining calling object in a method

#15235
From: Lars Roe
Date: Fri, 25 Jun 1999 00:00
14 lines
812 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: <37738E22.1CF66380@tc.umn.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,35fb45e4362913c,start
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: <37738E22.1CF66380@tc.umn.edu>
X-Deja-AN: 493776581
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