From: Tom Halliley <Tom.Halliley@sd.aonix.com>
Subject: Re: Another Ada Java question
Date: 1997/03/02
Date: 1997-03-02T00:00:00+00:00 [thread overview]
Message-ID: <3319BCC3.175A@sd.aonix.com> (raw)
In-Reply-To: 33175063.7428@fn3.freenet.tlh.fl.us
Kendal Van Dyke wrote:
>
> In Java there are some functions and procedures that are called as
> this.[something] . What is the equivalent of this in Ada Java?
Roughly, you'd call:
[something](this, ...);
meaning that the [something] method equivalent in AdaJava is a
procedure or function, where the first parameter (usually) is the
object to be operated on.
For example,
fileName = this.getName();
in Java becomes
fileName := java.io.file.getName(this);
in AdaJava. Of course, "this" is not an implicitly declared object
in Ada, rather, it would have to be declared, usually as a parameter
to the subprogram you're in.
TomH
-------------------------------------------------------------------
J. Thomas Halliley | Principal Software Engineer | 619.824.0348
tomh@aonix.com | Aonix | San Diego, CA
prev parent reply other threads:[~1997-03-02 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-28 0:00 Another Ada Java question Kendal Van Dyke
1997-03-02 0:00 ` Tom Halliley [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox