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

7
LINES

< > BotCompany Repo | #1007090 // Test shortenClassName

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

Libraryless. Click here for Pure Java version (1486L/10K/35K).

!7

p {
  assertEquals("c", shortenClassName("a.b.c"));
  assertEquals("x", shortenClassName("x"));
  assertEquals("d", shortenClassName("a.b$d"));
}

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: #1007090
Snippet name: Test shortenClassName
Eternal ID of this version: #1007090/1
Text MD5: 25a8e20cb9b150ea154d0ce0c2b90e04
Transpilation MD5: 90f89654e25309ab0b48617e57b37a51
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-02 22:56:06
Source code size: 155 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 393 / 445
Referenced in: [show references]