Libraryless. Click here for Pure Java version (5159L/29K).
persistable sclass GPolymorphicOperator<T> extends GAbstractOperator<T> { settable new L<GOperator<T>> definitions; *(S *name, GOperator<T>... definitions) { this.definitions = asList(definitions); } toString { ret name + " [polymorphic operator]"; } S toStringWithDefinitions() { ret name + " - polymorphic operator with " + n2(definitions, "definition") + ":\n" + lines_rtrim(indentAll(definitions)); } }
Began life as a copy of #1033956
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033958 | 
| Snippet name: | GPolymorphicOperator - GOperator with multiple definitions | 
| Eternal ID of this version: | #1033958/5 | 
| Text MD5: | 1c64d6329a815797c221e1cbf9579f73 | 
| Transpilation MD5: | d8cacd395750ebbc31bf63e388c7f688 | 
| Author: | stefan | 
| Category: | javax / scripting | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-01-14 23:59:45 | 
| Source code size: | 460 bytes / 16 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 386 / 531 | 
| Version history: | 4 change(s) | 
| Referenced in: | [show references] |