X is a general-purpose Java utility class that lets you handle everyday tasks with a single static facade—effectively replacing most of the scattered Apache-* commons helpers. Feel free to copy and tweak the source for your own needs.
- Except for the require methods, no exceptions are thrown; default error handling is provided.
- Covers the most commonly-used utility methods.
- Names are kept short and consistent.
- Returned arrays, Lists and Sets never contain null elements.
- Thread-safe.
- Memory-safe.