Libraryless. Click here for Pure Java version (2801L/16K).
static <A> L<A> removeAndReturnCollection(L<A> l, int i) { remove(l, i); ret l; } static <A, B extends Cl<A>> B removeAndReturnCollection(B l, A a) { remove(l, a); ret l; }
Began life as a copy of #1007500
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022927 |
Snippet name: | removeAndReturnCollection - remove element from list/collection |
Eternal ID of this version: | #1022927/2 |
Text MD5: | 90af2e5c6ce94284ac9d8be8a4b64563 |
Transpilation MD5: | 1a50785ead63af6265cf536dbe7c8722 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-21 22:34:49 |
Source code size: | 189 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 296 / 360 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |