🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #289

Re: Multiple interfaces

#289
From: Tim Tyler
Date: Tue, 18 Jun 2002 20:52
20 lines
1907 bytes
Russell Dodd <rdodd@alterian.com> wrote:

:> > 1) If you are implementing more than a few interfaces in one class you
:> > are probably doing too much in one class and probably have poor design.
:>
:> What about TWO interfaces?

: I find in very rare to have to implement even two interfaces within the same
: class.

Common stuff for others, though:

public final class String implements Comparable, Serialisable {
public class Date implements Clonable, Comparable, Serialisable {
public final class Character implements Clonable, Serialisable {
public class BitSet implements Clonable, Serialisable {
public class RandomAccessFile implements DataInput, DataOutput {
-- 
__________
 |im |yler  http://timtyler.org/  tim@tt1.org
Technical Details
Message-ID: <Gxx609.3u6@bath.ac.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!fu-berlin.de!server1.netnews.ja.net!hgmp.mrc.ac.uk!pegasus.csx.cam.ac.uk!bath.ac.uk!unknown
References: <1024283082.192985@web.apex.net.au> <EzxP8.238919$cQ3.10063@sccrnsc01> <1024391253.156369@web.apex.net.au> <1024397222.27025.0.nnrp-10.c3ad556a@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,113f3357bc588129
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10d6db,113f3357bc588129
X-Google-Attributes: gid10d6db,public
X-Google-Thread: f74b3,113f3357bc588129
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2002-06-18 13:59:06 PST
Newsgroups: aus.computers.java,borland.public.jbuilder.java.language,comp.lang.java.programmer
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!fu-berlin.de!server1.netnews.ja.net!hgmp.mrc.ac.uk!pegasus.csx.cam.ac.uk!bath.ac.uk!unknown
From: Tim Tyler <tim@tt1.org>
Subject: Re: Multiple interfaces
User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (Linux/2.4.17-grsec-1.9.3a (i686))
Reply-To: tim@tt1.org
Sender: unknown@bits.bris.ac.uk (Address not verified)
Organization: University of Bristol, UK
Message-ID: <Gxx609.3u6@bath.ac.uk>
References: <1024283082.192985@web.apex.net.au> <EzxP8.238919$cQ3.10063@sccrnsc01> <1024391253.156369@web.apex.net.au> <1024397222.27025.0.nnrp-10.c3ad556a@news.demon.co.uk>
Date: Tue, 18 Jun 2002 20:52:57 GMT
Lines: 20