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


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

Re: Store Suppliers in a map

Path csiph.com!4.us.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd3-ae38-0-ada1-1290-a847-1871.ipv6dyn.netcologne.de!not-for-mail
From Patrick Roemer <sangamon@netcologne.de>
Newsgroups comp.lang.java.programmer
Subject Re: Store Suppliers in a map
Date Wed, 10 Apr 2019 16:35:56 +0200
Organization news.netcologne.de
Distribution world
Message-ID <q8kv0c$1di$1@newsreader4.netcologne.de> (permalink)
References <88a3b286-0d96-425e-ac82-c02e3ebcc84a@googlegroups.com> <q8ktl2$g7$1@newsreader4.netcologne.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Injection-Date Wed, 10 Apr 2019 14:35:56 -0000 (UTC)
Injection-Info newsreader4.netcologne.de; posting-host="2001-4dd3-ae38-0-ada1-1290-a847-1871.ipv6dyn.netcologne.de:2001:4dd3:ae38:0:ada1:1290:a847:1871"; logging-data="1458"; mail-complaints-to="abuse@netcologne.de"
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.24) Gecko/20100411 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0
In-Reply-To <q8ktl2$g7$1@newsreader4.netcologne.de>
Content-Language en-US
Xref csiph.com comp.lang.java.programmer:38893

Show key headers only | View raw


Responding to myself:
> You need a uniform key type.

Value type, of course.

> Or you could bury the whole remaining computation, starting from the
> Supplier, in a custom data type and use this as a key type.

Ditto.

Best regards,
Patrick

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


Thread

Store Suppliers in a map mike <mikaelpetterson@hotmail.com> - 2019-04-09 22:01 -0700
  Re: Store Suppliers in a map mike <mikaelpetterson@hotmail.com> - 2019-04-09 22:04 -0700
  Re: Store Suppliers in a map Patrick Roemer <sangamon@netcologne.de> - 2019-04-10 16:12 +0200
    Re: Store Suppliers in a map Patrick Roemer <sangamon@netcologne.de> - 2019-04-10 16:35 +0200
  Re: Store Suppliers in a map Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-04-10 19:07 +0200

csiph-web