Libraryless. Click here for Pure Java version (5217L/29K).
1 | static <A, B, C extends Cl<B>> L<B> allValues(Map<A, C> map) { |
2 | new L<B> out; |
3 | for (l : values(map)) |
4 | addAll(out, l); |
5 | ret out; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034766 |
Snippet name: | allValues - list of all values of a map's (collection) values |
Eternal ID of this version: | #1034766/1 |
Text MD5: | 0856944ca4b699c40ce564ff911ae02e |
Transpilation MD5: | e55c47e855d1251f5ab7d1f612422f22 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-08 06:16:17 |
Source code size: | 140 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 164 / 226 |
Referenced in: | [show references] |