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

3
LINES

< > BotCompany Repo | #1032759 // appendSquareBracketedCountUnlessOne

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

Libraryless. Click here for Pure Java version (3895L/22K).

sS appendSquareBracketedCountUnlessOne(int n, S a default "") {
  ret n == 1 ? a : appendSquareBracketed(a, n2(n));
}

Author comment

Began life as a copy of #1032758

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032759
Snippet name: appendSquareBracketedCountUnlessOne
Eternal ID of this version: #1032759/4
Text MD5: 1ea49fa9d6dc9a320a1a65ccca09ef5c
Transpilation MD5: 36ef48e69c53c8b84d32df5058fc1cbb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 00:59:26
Source code size: 119 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 211
Version history: 3 change(s)
Referenced in: [show references]