1 | static S stringBuffer_takeFirst(int n, StringBuffer buf) {
|
2 | if (buf == null) ret ""; |
3 | synchronized(buf) {
|
4 | ret buf.substring(0, min(nFirstChars, l(buf))); |
5 | } |
6 | } |
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: | 623 / 656 |
| Referenced in: | [show references] |