Decorate Scala Maps with various utility functions
Simple decorator for the scala Try, which adds the following simple functions:
Simple decorator for the scala Try, which adds the following simple functions: - composable error logging - composable success logging
Flatten a sequence of Trys to a try of sequence, which is a failure if any if the Trys is a failure.
Utilities that help with byte serialization
Convert a Scala Map into a Java HashMap instance
Convert a Scala Map into a Java Properties instance
Run a block and return the block result and the runtime in millis
Try running a code block that uses a resource which is silently closed on return.
Try running a code block that uses a resource which is silently closed on return.
resource type which must be AutoCloseable
the code block return type
resource creation block
code that uses the resource
Success if the resource was successfully initialised and the code was successfully ran, even if the resource was not successfully closed.
A few common functions that might be useful.