Libraryless. Click here for Pure Java version (2693L/17K).
static <A, B extends Cl<A>> B smallestCollection(Iterable<B> l) { new Lowest<B> best; fOr (B b : l) best.put(b, l(b)); ret best!; }
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: | #1028979 |
| Snippet name: | smallestCollection |
| Eternal ID of this version: | #1028979/1 |
| Text MD5: | f3b0ccb471751a888cc4a87565aff860 |
| Transpilation MD5: | 9e3390e7b51c34dad5728ef92dfa3a55 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-15 02:12:09 |
| Source code size: | 146 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 438 / 550 |
| Referenced in: | [show references] |