Article View: borland.public.jbuilder.java.language
Article #7511Re: changing reference in a method
From: Tor Iver Wilhelmsen
Date: Mon, 18 Jun 2001 07:49
Date: Mon, 18 Jun 2001 07:49
10 lines
1309 bytes
1309 bytes
"Yonatan Taub" <yonatanta@bashan.co.il> writes: > What does it mean to a method argument as final? To tell the compiler/programmer that the _value_ of the argument will not change during the method's execution. This can possibly be used in optimization, and is also enforced for local variables (which arguments are) used in anonymous classes constructed/nested in the method so that the programmer knows they cannot affect the value anywhere by changing it.
Technical Details
Message-ID:
<uithu5isf.fsf@sds.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-dallas!news-in-dallas.newsfeeds.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b2ccfc1_1@dnews> <3b2cd6b8_2@dnews> <3b2cde4d$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,de239f43bd446264 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-18 00:51:43 PST Sender: towi@SDSA1761 Newsgroups: borland.public.jbuilder.java.language Subject: Re: changing reference in a method References: <3b2ccfc1_1@dnews> <3b2cd6b8_2@dnews> <3b2cde4d$1_2@dnews> From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Date: 18 Jun 2001 09:49:52 +0200 Message-ID: <uithu5isf.fsf@sds.no> Lines: 11 X-Newsreader: Gnus v5.5/Emacs 20.3 NNTP-Posting-Host: 139.105.4.252 X-Trace: dnews 992850590 139.105.4.252 (18 Jun 2001 00:49:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-dallas!news-in-dallas.newsfeeds.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews