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

6
LINES

< > BotCompany Repo | #1025183 // hashAboutObjects

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

Libraryless. Click here for Pure Java version (2084L/13K).

static int hashAboutObjects(O... l) {
  int hash = 0, n = l(l);
  for i to n:
    hash = boostHashCombine(hash, hashCode(l[i]));
  ret hash;
}

Author comment

Began life as a copy of #1003332

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025183
Snippet name: hashAboutObjects
Eternal ID of this version: #1025183/5
Text MD5: bdc4c6d118f72a00be338e3284697b51
Transpilation MD5: 79286bc86a30e7c5c3bff2c814b68d86
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-12 22:05:33
Source code size: 147 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 236 / 345
Version history: 4 change(s)
Referenced in: [show references]