1 | sclass StringPlusInt(S s, int i) { |
2 | S a; |
3 | int b; |
4 | |
5 | *() {} |
6 | *(S *a, int *b) {} |
7 | |
8 | public bool equals(O o) { |
9 | ret o instanceof StringPlusInt |
10 | && i == o/StringPlusInt.i |
11 | && eq(s, o/StringPlusInt.s); |
12 | } |
13 | |
14 | public int hashCode() { |
15 | ret _hashCode(s)+i; |
16 | } |
17 | } |
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: | #1013291 |
Snippet name: | StringPlusInt |
Eternal ID of this version: | #1013291/1 |
Text MD5: | 36c6d304bb5aa0ef3716027669baf544 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-31 07:56:27 |
Source code size: | 295 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 480 / 1115 |
Referenced in: | [show references] |