Libraryless. Click here for Pure Java version (2732L/16K).
static <A, B> Map.Entry<A, B> simpleMapEntry(A key, B value) { ret new Map.Entry<A, B>() { public A getKey() { ret key; } public B getValue() { ret value; } unimplemented public B setValue(B newValue); }; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030859 |
Snippet name: | simpleMapEntry |
Eternal ID of this version: | #1030859/1 |
Text MD5: | a4ade0418752d8887583ecdb8322e133 |
Transpilation MD5: | c0e8006d2404a7ae4d80fed6d23d2e04 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-04 17:15:14 |
Source code size: | 228 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 161 / 241 |
Referenced in: | [show references] |