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

9
LINES

< > BotCompany Repo | #1003011 // Test class hash codes

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (109L/1K/4K).

!752

static class A {}
static class B {}

p {
  for (Class x : litlist(A.class, B.class))
  print(intToHex(x.hashCode()));
}

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: #1003011
Snippet name: Test class hash codes
Eternal ID of this version: #1003011/1
Text MD5: 1e4b37d58541e397a2b3f22e209feb51
Transpilation MD5: b47065b51c03495cd562015f69d3ff95
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-18 20:16:39
Source code size: 135 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 622 / 862
Referenced in: #1003012 - Classes twice
#3000382 - Answer for ferdie (>> t = 1, f = 0)