Libraryless. Click here for Pure Java version (29L/1K).
1 | static <A> void putAllAsKeyAndValue(Map<? super A, ? super A> map, A... l) {
|
2 | if (map != null && l != null) |
3 | for (A a : l) map.put(a, a); |
4 | } |
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: | #1023416 |
| Snippet name: | putAllAsKeyAndValue |
| Eternal ID of this version: | #1023416/2 |
| Text MD5: | 7f6b046007dc62128eaba0ce34fc5979 |
| Transpilation MD5: | 9df95e747e04a6137c83e6906a8a040a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-06-18 01:48:38 |
| Source code size: | 146 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 428 / 560 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |