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

4
LINES

< > BotCompany Repo | #1035997 // stdHash_nonTransient - use all non-transient fields for hash function

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

Libraryless. Click here for Pure Java version (9254L/51K).

static int stdHash_nonTransient(O a) {
  if (a == null) ret 0;
  ret stdHash(a, toStringArray(nonTransientNonStaticFields(a)));
}

Author comment

Began life as a copy of #1005433

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035997
Snippet name: stdHash_nonTransient - use all non-transient fields for hash function
Eternal ID of this version: #1035997/4
Text MD5: 44ae5049447a5043a28c09f671d3e847
Transpilation MD5: a372ca46eea87d8fef59f6820fe785fd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-21 08:21:04
Source code size: 132 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 231
Version history: 3 change(s)
Referenced in: [show references]