comp.lang.ada
 help / color / mirror / Atom feed
From: christoph.grein@eurocopter.com
Subject: Re: Interface specification in Ada
Date: Wed, 11 Jun 2008 06:04:41 -0700 (PDT)
Date: 2008-06-11T06:04:41-07:00	[thread overview]
Message-ID: <8bf0fc5b-3eac-4898-835c-93d40aca25e2@z66g2000hsc.googlegroups.com> (raw)
In-Reply-To: g2ohff$f3v$1@aioe.org

You missed the "this" parameter, which is implicit in Java, but
explicit in Ada:

package Bicycle is
  type Object is interface;

  procedure changeCadence (Ob: in out Object; newValue : in Integer)
is abstract;

etc.



  reply	other threads:[~2008-06-11 13:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 12:46 Interface specification in Ada Dennis Hoppe
2008-06-11 13:04 ` christoph.grein [this message]
2008-06-11 15:02   ` Georg Bauhaus
2008-06-11 16:34   ` Robert A Duff
2008-06-11 21:23   ` Dennis Hoppe
2008-06-12  8:37     ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox