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

4
LINES

< > BotCompany Repo | #1025865 // plusNMoreWithNL

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

Libraryless. Click here for Pure Java version (2133L/14K).

sS plusNMoreWithNL(Collection full, Collection shown) {
  int n = abs(l(full)-l(shown));
  ret n != 0 ? "\n[+" + (l(full)-l(shown)) + "]" : "";
}

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: #1025865
Snippet name: plusNMoreWithNL
Eternal ID of this version: #1025865/5
Text MD5: a951e2d09320a054bad1bd21ccd645e4
Transpilation MD5: aa6fc1b7ccde195225837d4a27b69909
Author: stefan
Category: javax / agi.blue
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-27 16:24:47
Source code size: 148 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 319
Version history: 4 change(s)
Referenced in: [show references]