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

3
LINES

< > BotCompany Repo | #1009249 - hashCodeFor - synonym of hashCode - get hash code of object or 0 for null

JavaX fragment (include)

static int hashCodeFor(O a) {
  ret a == null ? 0 : a.hashCode();
}

Author comment

Began life as a copy of #1003334

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009249
Snippet name: hashCodeFor - synonym of hashCode - get hash code of object or 0 for null
Eternal ID of this version: #1009249/1
Text MD5: aa842b264057a6439d90b6e7b3b25bb1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-19 19:56:17
Source code size: 69 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 331 / 1222
Referenced in: [show references]