Skip to main content

Timeline for Mapping composition in Java - v2

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Sep 21, 2023 at 16:36 comment added coderodde Not quite sure how to write variadic functions. Wanna elaborate your answer?
Sep 21, 2023 at 14:42 comment added Kaushik Shankar I think it’d be cool to have compose be a variadic function
Sep 21, 2023 at 14:38 comment added Kaushik Shankar Yeah and that could be extracted out into a separate function that takes a map as input and then you wouldn’t have to convert existing maps into Mapping to use your new functionality
Sep 20, 2023 at 12:09 vote accept coderodde
Sep 20, 2023 at 9:06 comment added coderodde True. However, note that rolling my own wrapping class gives me — at the very least— control over the way a map is converted to a string.
Sep 20, 2023 at 8:10 history answered Kaushik Shankar CC BY-SA 4.0