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


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

Re: Store Suppliers in a map

From Patrick Roemer <sangamon@netcologne.de>
Newsgroups comp.lang.java.programmer
Subject Re: Store Suppliers in a map
Date 2019-04-10 16:35 +0200
Organization news.netcologne.de
Message-ID <q8kv0c$1di$1@newsreader4.netcologne.de> (permalink)
References <88a3b286-0d96-425e-ac82-c02e3ebcc84a@googlegroups.com> <q8ktl2$g7$1@newsreader4.netcologne.de>

Show all headers | 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