Libraryless. Click here for Pure Java version (16157L/104K).
sclass ConceptShadow { Map map; *(Concept c) { map = conceptShadow_rawMap(c); map = toSortedArrayBasedMap(mapValues convertValue(map)); } O convertValue(O o) { if (o cast Concept.Ref) ret conceptIDObject(o!); if (o instanceof Concept.RefL) ret lmap conceptIDObject((L<Concept>) o); if (o cast Concept) ret ConceptID(o); ret o; } toString { ret "ConceptShadow " + map; } O get(O key) { ret mapGet(map, key); } public bool equals(O o) { if (o cast ConceptShadow) ret eq(map, o.map); false; } public int hashCode() { ret _hashCode(map); } long id() { ret toLong(get("id")); } }
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031055 |
Snippet name: | ConceptShadow |
Eternal ID of this version: | #1031055/19 |
Text MD5: | 9b129272a5aadec91104299face67d66 |
Transpilation MD5: | 77061200ea728bddf9f9aad4934b74ef |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-11 16:54:13 |
Source code size: | 710 bytes / 34 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 319 / 561 |
Version history: | 18 change(s) |
Referenced in: | #1031096 - ConceptShadow [backup] #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |