🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #174

Re: calling method of super class of super class

#174
From: Carsten Friedrich
Date: Wed, 02 May 2001 03:45
18 lines
1764 bytes
>Carsten.Friedrich@gmx.de (Carsten Friedrich) writes:
>
>> is it possible to call a method of the super class of the super
>> class?
>
>No. Basically, a class knows its super class, but not that class'
>superclass. If you end up needing to call a method two levels down you
>need to reconsider your design.
>

Thanks for the answer. Re-designing is not so easy in this case.
Basically I extend a 3rd party class with a clever hash-function.
Unfortunately my sub-class has the effect that the hash-funtion
degenerates. So I'd like to use the hash-function as it is implemented
in Object.

Carsten
Technical Details
Message-ID: <3aef81b7.5615427@news.usyd.edu.au>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!news.stealth.net!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!news.usyd.edu.au!not-for-mail
References: <3aee0699.231503@news.usyd.edu.au> <wk1yq92zv2.fsf@mail.multinett.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,edae50d7b645c6ea
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10d6db,edae50d7b645c6ea
X-Google-Attributes: gid10d6db,public
X-Google-ArrivalTime: 2001-05-01 20:50:38 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!news.stealth.net!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!news.usyd.edu.au!not-for-mail
From: Carsten.Friedrich@gmx.de (Carsten Friedrich)
Newsgroups: comp.lang.java.programmer,aus.computers.java
Subject: Re: calling method of super class of super class
Date: Wed, 02 May 2001 03:45:43 GMT
Organization: The University of Sydney, Australia
Lines: 19
Message-ID: <3aef81b7.5615427@news.usyd.edu.au>
References: <3aee0699.231503@news.usyd.edu.au> <wk1yq92zv2.fsf@mail.multinett.no>
NNTP-Posting-Host: carsten.cs.usyd.edu.au
X-Trace: spacebar.ucc.usyd.edu.au 988775437 10907 129.78.8.250 (2 May 2001 03:50:37 GMT)
X-Complaints-To: usenet@news.usyd.edu.au
NNTP-Posting-Date: 2 May 2001 03:50:37 GMT
X-Newsreader: Forte Free Agent 1.21/32.243