static PairS pairOfRestAndNLast(S s, int n) { ret pair(dropLast(n, s), takeLast(n, s)); }
Began life as a copy of #1026482
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: | #1026483 |
| Snippet name: | pairOfRestAndNLast |
| Eternal ID of this version: | #1026483/3 |
| Text MD5: | cdda5d1a03a099ba5e604a1e03dae2b0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-06 16:15:03 |
| Source code size: | 93 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 348 / 396 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |