Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1031549 // setMinus_inPlace - synonym of removeAndReturnCollection

JavaX fragment (include)

static <A> L<A> setMinus_inPlace(L<A> l, int i) {
  ret removeAndReturnCollection(l, i);
}



static <A, B extends Cl<A>> B setMinus_inPlace(B l, A a) {
  ret removeAndReturnCollection(l, a);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031549
Snippet name: setMinus_inPlace - synonym of removeAndReturnCollection
Eternal ID of this version: #1031549/1
Text MD5: 17ac98a5ef4a9424b06beff3ac9e1771
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-21 22:35:01
Source code size: 195 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 93 / 108
Referenced in: [show references]