Article View: be.comp.programming
Article #5024Re: Namespaces in Java?
From: Stefan Arentz
Date: Fri, 13 Jun 2003 15:34
Date: Fri, 13 Jun 2003 15:34
22 lines
2006 bytes
2006 bytes
"Passero" <yanongena@pandora.be> writes:
...
> Die methode lukt in 1 lijntje :
> public void not(Boolean B) { return (!B); }
Oei oei.
- return type is niet boolean
- !B geeft niet het gewenste resultaat; het geeft terug of B wel of
niet null is en niet of B TRUE of FALSE is.
- !B waarbij B geen native type is is ook geen geldige expressie in
java; (B == null) zou het dan moeten zijn in dit geval
- Het is hoogst ongebruikelijk om parameters te laten beginnen met een hoofdletter
Sorry, probeer het nog eens :-)
S.
Technical Details
Message-ID:
<871xxym1nn.fsf@keyser.soze.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!news.hamburg.cityline.net!newsfeed.hamburg.cityline.net!kleenex.wirehub.nl!news.wirehub.nl!not-for-mailReferences:
<bc2fqd$1iba$1@nl-news.euro.net> <1hi9evkahh5ra31jcaj86be03k3jlhv3oj@4ax.com> <bc2jbj$kqr$1@netlx020.civ.utwente.nl> <4%kGa.50736$1u5.3964@afrodite.telenet-ops.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,49bd6e9024ebf456 X-Google-Attributes: gid107324,public X-Google-Thread: fcea4,49bd6e9024ebf456 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-06-13 08:37:48 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!news.hamburg.cityline.net!newsfeed.hamburg.cityline.net!kleenex.wirehub.nl!news.wirehub.nl!not-for-mail From: Stefan Arentz <stefan.arentz@soze.com> Newsgroups: be.comp.programming,nl.comp.programmeren Subject: Re: Namespaces in Java? Date: 13 Jun 2003 17:34:52 +0200 Organization: Wirehub! Internet, The Netherlands Lines: 22 Message-ID: <871xxym1nn.fsf@keyser.soze.com> References: <bc2fqd$1iba$1@nl-news.euro.net> <1hi9evkahh5ra31jcaj86be03k3jlhv3oj@4ax.com> <bc2jbj$kqr$1@netlx020.civ.utwente.nl> <4%kGa.50736$1u5.3964@afrodite.telenet-ops.be> NNTP-Posting-Host: newsreader2.wirehub.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: thor.wirehub.nl 1055518664 97835 195.86.128.19 (13 Jun 2003 15:37:43 GMT) X-Complaints-To: abuse@wirehub.net NNTP-Posting-Date: 13 Jun 2003 15:37:43 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Cache-Post-Path: newsreader2.wirehub.nl!unknown@keyser.soze.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/)