Transpiled version (9716L) is out of date.
persistable sclass TargetAndActual<A> extends MetaWithChangeListeners { settableWithVar A target; settableWithVar A actual; *(A *target, A *actual) {} *(A *target) {} toString { ret commaCombine( target == null ?: "Target: " + target, actual == null ?: "Actual: " + actual); } A value aka get() { ret actual; } bool hasTarget() { ret target != null; } void set aka value(A actual) { actual(actual); } }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035746 |
Snippet name: | TargetAndActual |
Eternal ID of this version: | #1035746/11 |
Text MD5: | ef292d175f6602900d495bcfcbf5c2ca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-25 12:19:36 |
Source code size: | 469 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 146 / 235 |
Version history: | 10 change(s) |
Referenced in: | #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167) #1035747 - JTargetAndActualSlider |