Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1027260 // putInBestAndMap

JavaX fragment (include)

svoid <A> putInBestAndMap(Best<A> b, Map<A, Double> m, A key, double value) {
  if (b != null) b.put(key, value);
  if (m != null) m.put(key, value);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027260
Snippet name: putInBestAndMap
Eternal ID of this version: #1027260/1
Text MD5: be3da8a0cedb09dcb613325f1e28bd08
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-28 11:42:00
Source code size: 154 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 177 / 198
Referenced in: [show references]