Libraryless. Click here for Pure Java version (2586L/16K).
1 | static <A> L<A> subListOrFull(L<A> l, IntRange r) { |
2 | ret r == null ? l : subList(l, r.start, r.end); |
3 | } |
Began life as a copy of #1002310
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029829 |
Snippet name: | subListOrFull - return full list when range is null |
Eternal ID of this version: | #1029829/1 |
Text MD5: | bf9a299f767e887f1d063bd87089c000 |
Transpilation MD5: | 2618b4fb2496a20213ac669838ad5138 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-21 10:30:50 |
Source code size: | 105 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 207 / 297 |
Referenced in: | [show references] |