static S stringBuffer_takeFirst(int n, StringBuffer buf) { if (buf == null) ret ""; synchronized(buf) { ret buf.substring(0, min(nFirstChars, l(buf))); } }
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: | #1014676 |
Snippet name: | stringBuffer_takeFirst |
Eternal ID of this version: | #1014676/1 |
Text MD5: | c6695c915ee0955885e738ca606ea39d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-29 23:09:48 |
Source code size: | 170 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 411 / 435 |
Referenced in: | [show references] |