Libraryless. Click here for Pure Java version (10524L/59K).
static <A extends IHasChangeListeners> A updateChain(ChangeTriggerable b, A a) { ret onChange(a, b); } static <A extends IHasChangeListeners> A updateChain(Updateable b, A a) { ret onChange(a, b); } static <A extends IHasChangeListeners> A updateChain(Runnable b, A a) { ret onChange(a, b); } meta-for JTextComponent also as JCheckBox { static <A extends JTextComponent> A updateChain(O b, A a) { onChange(a, changeReceiverToRunnable(b)); ret a; } } static <A extends Iterable> A updateChain(O b, A l) { fOr (a : l) preciseCall(mainFunctionHolder updateChain, "updateChain", b, a); ret l; }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036478 |
Snippet name: | updateChain - reverse argument order of onChange |
Eternal ID of this version: | #1036478/17 |
Text MD5: | 2274ce2265a8931d84c26aaf7febf920 |
Transpilation MD5: | 36001b4fe20265985d624b9a939f0c45 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-12-17 20:23:11 |
Source code size: | 643 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 313 |
Version history: | 16 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |