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


< > BotCompany Repo | #1003334 // hashCode - get hash code of object or 0 for null

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (33L) is out of date.

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

static int hashCode(long l) {
  ret Long.hashCode(l);

static int hashCode(double d) {
  ret Double.hashCode(d);

Author comment

Began life as a copy of #1003332

download  show line numbers  debug dex  old transpilations   

Travelled to 26 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, jozkyjcghlvl, lnbujpyubztb, lpdgvwnxivlt, lulzaavyztxj, mowyntqkapby, mqqgnosmbjvj, mqsvbyillbrs, odhhsrjjbcgr, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, qgvkllrfbgaw, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1003334
Snippet name: hashCode - get hash code of object or 0 for null
Eternal ID of this version: #1003334/4
Text MD5: fa2b5b6eb896e96d420822059869b76e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-12 22:13:32
Source code size: 192 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 652 / 4511
Version history: 3 change(s)
Referenced in: [show references]