A collection of useful Groovy language extensions for common tasks like clamping, sorting, file operations, and data conversions.
Groovy Common Extensions is a library that enhances the Groovy programming language with a set of practical utility methods via Groovy's extension system. It provides developers with convenient, idiomatic additions to standard classes, streamlining everyday coding tasks and reducing boilerplate.
asType to define custom type conversions between classes.Comparable values (numbers, strings, ranges) within specified bounds.take with negative indices to safely retrieve elements from the end of a list.withClosable after closure execution.tap into chains to inspect intermediate values without breaking the flow.File objects.toXml, toJson, and toConfig.The project follows a pragmatic, utility-first approach, extending Groovy's expressive syntax with methods that feel native to the language, promoting cleaner and more concise code.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.