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

4
LINES

< > BotCompany Repo | #1027797 // renderPosNegScoreAndCount

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

Libraryless. Click here for Pure Java version (3002L/19K).

1  
sS renderPosNegScoreAndCount(PosNeg pn) {
2  
  if (pn == null) ret "";
3  
  ret intToStringWithExplicitPlus(pn.score()) + " (n=" + pn.n() + ")";
4  
}

Author comment

Began life as a copy of #1027794

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027797
Snippet name: renderPosNegScoreAndCount
Eternal ID of this version: #1027797/1
Text MD5: b2c4585245100ff5946b11a169cb9da0
Transpilation MD5: 1c46abb8752e5a23a7947b678d10339a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-12 13:42:26
Source code size: 143 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 202 / 286
Referenced in: [show references]