Libraryless. Click here for Pure Java version (9523L/52K).
sclass GenericallyScored<A, B extends Comparable<B>> extends Var<A> { B score; *() {} *(A a, B score) { super(a); this.score = score; } B score() { ret score; } toString { ret score + ": " + str(get()); } }
Began life as a copy of #1015268
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036268 |
Snippet name: | GenericallyScored - Comparable-scored value |
Eternal ID of this version: | #1036268/2 |
Text MD5: | 4be07c30f3d7fc71700d1e6f9487ad42 |
Transpilation MD5: | a315eadc6dfbcec41263dc109d5d5111 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-11-06 20:54:39 |
Source code size: | 242 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 114 / 168 |
Version history: | 1 change(s) |
Referenced in: | [show references] |