sbool eqOneOf_twoNonNullStrings(S s, S a, S b) { ret a.equals(s) || b.equals(s); }
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: | #1021949 |
| Snippet name: | eqOneOf_twoNonNullStrings - faster version of eqOneOf with a and b not null |
| Eternal ID of this version: | #1021949/1 |
| Text MD5: | dc73fddbe9a2ce9e22667b9e10ddaccc |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-04 00:11:18 |
| Source code size: | 86 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 543 / 595 |
| Referenced in: | [show references] |