MESSAGE
DATE | 2016-05-16 |
FROM | ruben safir
|
SUBJECT | Re: [Hangout-NYLXS] hashtables syntax
|
On 05/15/2016 07:44 AM, Eric Sosman wrote: > y "template" I guess you mean the <> angle braces? That's where > the type parameters would go, just as in the declaration. In fact, it > would be perfectly legal to repeat the parameters -- but since Java can > figure them out for itself ("Hmmm: They're probably the same types as > I already saw when `functions' was first declared!"), why bother?
Gotchya, but it seems inconsistent.
why not like
HashMap<> function = new HashMap
Why declare function as a type at all.
_______________________________________________ hangout mailing list hangout-at-nylxs.com http://www.nylxs.com/
|
|