NumberUtil.isNumber(CharSequence str) : Validates if a string represents a valid number.
To help optimize your configuration, are you working on a ? Share public link
ObjectUtil.equal(Object obj1, Object obj2) : Compares two objects safely, even if one or both are null. hutool 39
CollUtil.isEmpty(Collection collection) : Validates if a collection is null or empty.
// 1. Parse String JSONObject json = JSONUtil.parseObj("\"name\": \"Hutool\", \"version\": 5.8"); NumberUtil
Null-safe conversion. No more object == null ? "" : object.toString() .
MapUtil.getAny(Map map, K... keys) : Fetches the first non-null value found among a list of keys. 🔒 6. Security, Hashing & Cryptography SecureUtil (Security Utility) CollUtil
Projects can include the full hutool-all bundle or selectively import only the modules they need, keeping dependency footprints minimal.
// 4. Date Offset (Yesterday, Tomorrow, Offset) Date yesterday = DateUtil.yesterday(); Date future = DateUtil.offsetDay(now, 5); // 5 days later
: Risks associated with expression engines (like QLExpress) that could lead to remote code execution.
: To make Java "sweet" by providing functional-style elegance and reducing the learning curve for complex APIs.