Libraryless. Click here for Pure Java version (5789L/32K).
// A is the "tag" type static <A> MultiMap<Double, A> ufr_brightnessTreeMultiMap(Iterable<Pair<A, IIntegralImage>> taggedImages) { MultiMap<Double, A> multiMap = treeMultiMap(); for (A tag, IIntegralImage img : unpair taggedImages) multiMap.put(uRoot(img).averageBrightness(), tag); ret multiMap; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032020 |
Snippet name: | ufr_brightnessTreeMultiMap |
Eternal ID of this version: | #1032020/2 |
Text MD5: | a8fc67399990691888d5033971392a64 |
Transpilation MD5: | 98aa5112b7a00277867e95a5744abea8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 02:39:09 |
Source code size: | 314 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 137 / 203 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032022 - USwitchByBrightness |