static <A> Pair<A, PosNegScore> worstPosNegScore_keyAndValue(Map<A, PosNegScore> map) { new Lowest<Pair<A, PosNegScore>> best; if (map != null) for (A key, PosNegScore score : map) { best.put(pair(key, score), score.pos-score.neg); } ret best!; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021979 | 
| Snippet name: | worstPosNegScore_keyAndValue | 
| Eternal ID of this version: | #1021979/1 | 
| Text MD5: | 47b0bf55ec6e86a6bd5accf00aeed312 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-03-04 15:40:01 | 
| Source code size: | 264 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 476 / 502 | 
| Referenced in: | [show references] |