Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3018

Re: Why only public methods on interfaces?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From "Mike Schilling" <mscottschilling@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Why only public methods on interfaces?
Date Sat, 9 Apr 2011 22:14:13 -0700
Organization A noiseless patient Spider
Lines 2
Message-ID <inreb7$u7e$1@dont-email.me> (permalink)
References <25875c94-9af2-4d28-976d-2050a738ae2e@n10g2000yqf.googlegroups.com> <4sOdneh7k40lDgPQnZ2dnUVZ_vSdnZ2d@earthlink.com> <2011040801014026003-angrybaldguy@gmailcom> <5YSdnThYKPSwAgPQnZ2dnUVZ_gydnZ2d@earthlink.com> <KPCdnfEJDvZ0KAPQnZ2dnUVZ_sqdnZ2d@posted.palinacquisition> <XoGdnZ2ah5Y6iQLQnZ2dnUVZ_jednZ2d@earthlink.com> <TcKdnZsfUbuKhALQnZ2dnUVZ_iydnZ2d@posted.palinacquisition> <58-dnYYCMK1urQLQnZ2dnUVZ_gGdnZ2d@earthlink.com>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="UTF-8"; reply-type=response
Content-Transfer-Encoding 7bit
Injection-Date Sun, 10 Apr 2011 05:14:15 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="9/+TJ1sP8X95OF6DtYKdgg"; logging-data="30958"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PqxtXlsxwZBpESLhwvkn4JLEDmsygsAI="
X-MimeOLE Produced By Microsoft MimeOLE V14.0.8117.416
In-Reply-To <58-dnYYCMK1urQLQnZ2dnUVZ_gGdnZ2d@earthlink.com>
X-Newsreader Microsoft Windows Live Mail 14.0.8117.416
Importance Normal
Cancel-Lock sha1:vEAaS+k4mCbGcCCL0bJQc1B4tD4=
X-Priority 3
X-MSMail-Priority Normal
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3018

Show key headers only | View raw



"Patricia Shanahan" <pats@acm.org> wrote in message 
news:58-dnYYCMK1urQLQnZ2dnUVZ_gGdnZ2d@earthlink.com...
>
> The really unfortunate decision is not the public methods only, but the
> decision to make non-specification of access mean public interface
> method declarations but package access in class method declarations.
> That cuts off any possibility of changing interfaces now to make them
> more flexible.

Unless new syntax like "package-private" is introduced. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Why only public methods on interfaces? kramer31 <kramer.newsreader@gmail.com> - 2011-04-07 17:09 -0700
  Re: Why only public methods on interfaces? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-07 21:48 -0300
  Re: Why only public methods on interfaces? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-04-07 21:01 -0400
    Re: Why only public methods on interfaces? v_borchert@despammed.com (Volker Borchert) - 2011-04-08 02:43 +0000
      Re: Why only public methods on interfaces? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-04-08 00:24 -0400
  Re: Why only public methods on interfaces? Patricia Shanahan <pats@acm.org> - 2011-04-07 21:49 -0700
    Re: Why only public methods on interfaces? Owen Jacobson <angrybaldguy@gmail.com> - 2011-04-08 01:01 -0400
      Re: Why only public methods on interfaces? Patricia Shanahan <pats@acm.org> - 2011-04-07 22:37 -0700
        Re: Why only public methods on interfaces? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-04-08 00:14 -0700
          Re: Why only public methods on interfaces? Patricia Shanahan <pats@acm.org> - 2011-04-08 06:59 -0700
            Re: Why only public methods on interfaces? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-04-08 07:17 -0700
              Re: Why only public methods on interfaces? Patricia Shanahan <pats@acm.org> - 2011-04-08 08:59 -0700
                Re: Why only public methods on interfaces? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-04-08 17:27 -0700
                Re: Why only public methods on interfaces? "Mike Schilling" <mscottschilling@hotmail.com> - 2011-04-09 22:14 -0700
                Re: Why only public methods on interfaces? "Mike Schilling" <mscottschilling@hotmail.com> - 2011-04-09 22:28 -0700
                Re: Why only public methods on interfaces? Tom Anderson <twic@urchin.earth.li> - 2011-04-10 16:02 +0100
  Re: Why only public methods on interfaces? Roedy Green <see_website@mindprod.com.invalid> - 2011-04-08 03:18 -0700
    Re: Why only public methods on interfaces? Esmond Pitt <esmond.pitt@bigpond.com> - 2011-04-08 20:32 +1000
  Re: Why only public methods on interfaces? Tom Anderson <twic@urchin.earth.li> - 2011-04-08 20:34 +0100
  Re: Why only public methods on interfaces? Tom Anderson <twic@urchin.earth.li> - 2011-04-10 18:10 +0100

csiph-web