Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Zermelo Newsgroups: comp.lang.java.programmer Subject: Re: Wormholes Date: Wed, 05 Sep 2012 09:02:49 +0200 Organization: A noiseless patient Spider Lines: 6 Message-ID: <85k3w9lzom.fsf@teletu.it.nospam.invalid> References: <0ska4895k2mp2j5fb5p4qnue7lsbdpoeoo@4ax.com> <85zk56mgi1.fsf@teletu.it.nospam.invalid> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx04.eternal-september.org; posting-host="f3669e70304c68511686dd57a9d459e2"; logging-data="2604"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19d3b3Q1OLE2PFApSieTux0" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt) Cancel-Lock: sha1:sYy1TLtwxYzyjDdVvUBqLeA/HKI= sha1:HNDaVq9tmsJyKlVaodDVBIcNdiw= Xref: csiph.com comp.lang.java.programmer:18552 Roedy Green writes: > The techniques that I can think of are default scope variable or pass > value down call chain to where it is used. Are there any others? You can also overload method y and add an extra parameter.