Article View: borland.public.jbuilder.java.language
Article #15409Re: Read please
From: Tor Iver Wilhelmsen
Date: Thu, 17 Jun 1999 00:00
Date: Thu, 17 Jun 1999 00:00
34 lines
1578 bytes
1578 bytes
"Josh Fletcher (borland.com)" <jfletcher@borland.com> writes:
In addition to Wilkman's answer:
> interface TENode extends MutableTreeNode, Cloneable
> {
> }
>
> abstract class AbstractTENode extends DefaultMutableTreeNode implements
> TENode
> {
> }
Since DefaultMutableTreeNode already implements MutableTreeNode, this
is equivalent to
abstract class AbstractTENode extends DefaultMutableTreeNode implements
Cloneable
{
}
but without the "double interface declaration".
This could be a cause of the debugger field "invisibility": I have
noticed that JBuilder 3's Code Insight does not want to provide
argument lists for methods if a reference is of an interface type.
> 2. In general, it seems that using and abstract class to implement
> another abstract class (the interface) is a little wierd. It's as if he
> is trying to get multiple inheritance or something. Am I wrong here?
No, it's MI of interface, but they probably want to "force"
subclassing. A class declared abstract does not need to have abstract
methods, but a class having abstract methods must be declared as one.
Technical Details
Message-ID:
<u909jpckk.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37681B7A.A31F5643@borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ca6e3bdb41ee3e6e X-Google-Attributes: gidf74b3,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: Read please Date: 1999/06/17 Message-ID: <u909jpckk.fsf@sds.no> X-Deja-AN: 490560993 Sender: towi@SDSA1761 References: <37681B7A.A31F5643@borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language