static <A> A internIfString(A a) { ret a instanceof S ? (A) intern((S) a) : a; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1009706 |
| Snippet name: | internIfString - return interned string if it's a string, original object otherwise |
| Eternal ID of this version: | #1009706/3 |
| Text MD5: | e46769f5bb85247e6a642b32c98a9267 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-02 05:52:25 |
| Source code size: | 84 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 674 / 695 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |