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


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

Re: hashtables syntax

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Steven Simpson <ss@my.domain.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: hashtables syntax
Date Mon, 16 May 2016 22:35:38 +0100
Organization A noiseless patient Spider
Lines 18
Message-ID <a2rp0d-ctt.ln1@s.simpson148.btinternet.com> (permalink)
References <nh954m$bu8$1@reader1.panix.com> <nh9n7r$ira$1@dont-email.me> <338d0b8c-9a5e-ccc0-9a5c-792c870f84bf@mrbrklyn.com> <nhcbrv$7qk$1@dont-email.me> <fd3p0d-s27.ln1@s.simpson148.btinternet.com> <type-information-20160516192206@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Info mx02.eternal-september.org; posting-host="17104d5a435f3689bf77964a98a7675d"; logging-data="17166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Vo1QP4lzkiP1E8uoIWQeg2R6r4bX3YO8="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
In-Reply-To <type-information-20160516192206@ram.dialup.fu-berlin.de>
Cancel-Lock sha1:btxwVCvja4l2OczSQRAv2GnwN5A=
Xref csiph.com comp.lang.java.programmer:34309

Show key headers only | View raw


On 16/05/16 19:23, Stefan Ram wrote:
> Steven Simpson <ss@my.domain.invalid> writes:
>>>> HashMap<> function = new HashMap<String, Type[]>
> ..
>> It would arguably be inappropriate to put the type information 'on the
>> right' in the the OP's case, where the declaration of the reference is
>> separate from its assignment.
>    There are examples outside of the scope of generics where
>    the more-detailed information about the type is on the left
>    and examples where it is on the right.


Sure.  I was not suggesting anything beyond the case of choosing whether 
to permit <> on the left or on the right.

-- 
ss at comp dot lancs dot ac dot uk

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


Thread

hashtables syntax Popping mad <rainbow@colition.gov> - 2016-05-15 06:31 +0000
  Re: hashtables syntax Lew <lewbloch@gmail.com> - 2016-05-14 23:52 -0700
    Re: hashtables syntax Popping mad <rainbow@colition.gov> - 2016-05-15 10:23 +0000
      Re: hashtables syntax Lew <lewbloch@gmail.com> - 2016-05-15 09:33 -0700
        Re: hashtables syntax Lew <lewbloch@gmail.com> - 2016-05-15 09:35 -0700
      Re: hashtables syntax Eric Douglas <e.d.programmer@gmail.com> - 2016-05-16 06:10 -0700
  Re: hashtables syntax Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-15 07:44 -0400
    Re: hashtables syntax ruben safir <ruben@mrbrklyn.com> - 2016-05-16 01:26 -0400
      Re: hashtables syntax Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-16 07:48 -0400
        Re: hashtables syntax Steven Simpson <ss@my.domain.invalid> - 2016-05-16 15:51 +0100
          Re: hashtables syntax Steven Simpson <ss@my.domain.invalid> - 2016-05-16 22:35 +0100
      Re: hashtables syntax Lew <lewbloch@gmail.com> - 2016-05-16 16:10 -0700
  Re: hashtables syntax Andreas Leitgeb <avl@logic.at> - 2016-05-15 13:43 +0000
  Re: hashtables syntax Roedy Green <see_website@mindprod.com.invalid> - 2016-05-20 18:00 -0700

csiph-web