Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1013291 // StringPlusInt

JavaX fragment (include)

sclass StringPlusInt(S s, int i) {
  S a;
  int b;
  
  *() {}
  *(S *a, int *b) {}
  
  public bool equals(O o) {
    ret o instanceof StringPlusInt
      && i == o/StringPlusInt.i
      && eq(s, o/StringPlusInt.s);
  }
  
  public int hashCode() {
    ret _hashCode(s)+i;
  }
}

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: 479 / 1114
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)