Commit Graph

60 Commits

Author SHA1 Message Date
siujamo 410cb0d6d1 test: unit test for RangeUtil 2025-06-04 11:05:02 +08:00
siujamo 56dbf1a6f2 test: unit test for RangeUtil 2025-06-04 11:00:32 +08:00
siujamo 7363d57c15 feat: generate descending sequence 2025-06-04 11:00:00 +08:00
siujamo fd0419ac63 refactor: remove unused imports 2025-06-04 10:54:08 +08:00
siujamo 66e65c3072 refactor: remove logger 2025-06-04 10:52:49 +08:00
siujamo fea28084f2 refactor: remove ListUtil since its function is the same as CollectionUtil's 2025-06-04 10:52:22 +08:00
siujamo 2bd2e4e101 test: test for HashUtil 2025-06-04 10:50:12 +08:00
siujamo 9937df4124 test: test for CollectionUtil 2025-06-04 10:39:50 +08:00
siujamo 0ff8febb47 fix: when maxSize equals to 0, an ArithmaticException will be raised 2025-06-04 10:39:33 +08:00
siujamo 94e73077cd test: tests for BranchUtil 2025-06-04 10:32:00 +08:00
siujamo 3f9dc06438 test: tests for BoolUtil 2025-06-04 10:26:47 +08:00
siujamo 4702b3a293 test: tests for Base64Util 2025-06-04 10:14:03 +08:00
siujamo 6e46db2c26 test: tests for AesUtil 2025-06-04 10:06:15 +08:00
siujamo 256d5b936a refactor: change exception handling 2025-06-04 10:05:49 +08:00
siujamo 7abb6954d0 docs: optimised docs 2025-05-22 11:57:27 +08:00
siujamo 48714e599a feat: marked BranchUtil#getResult as deprecated and for removal in future releases 2025-05-22 11:52:51 +08:00
siujamo 0642bd836e feat: refactor BranchUtil<T> to BranchUtil
In this update, the generic type `BranchUtil<T>` has been refactored to
`BranchUtil`. Additionally, the method `thenSupply` on `BranchUtil`
instances has been modified to use the non-generic form `<T>thenSupply`
to simplify the method's interface.

BREAKING CHANGE: The method `handle(Supplier<T> trueSupplier[,
Supplier<T> falseSupplier])` has been refactored to `<T>
thenSupply(Supplier<T> trueSupplier[, Supplier<T> falseSupplier])`; the
type signature for the `thenSupply` method has changed; ensure to update
any instances where it is invoked.
2025-05-22 11:40:23 +08:00
zihluwang 68bf18d944 feat: use the same private constructor comment within the whole repository 2025-04-02 20:54:17 +08:00
zihluwang 5f892b34b0 feat: chunk list with specified list type 2025-03-25 19:52:15 +08:00
zihluwang 1a29a4c85b docs: added javadoc 2025-03-23 15:56:45 +08:00
zihluwang d33176a0ee feat: add functionality to split a list into sub lists of specified size 2025-03-23 12:57:29 +08:00
zihluwang b60d6c27b0 fix: fix ci error 2025-01-25 20:40:21 +08:00
zihluwang 971037f160 chore: removed lombok and upgraded copyright 2025-01-25 19:53:04 +08:00
zihluwang f771b1af19 refactor: upgrage copyright years 2025-01-25 19:25:21 +08:00
zihluwang ef504bbe06 feat: added RangeUtil
RangeUtil is a utility class providing methods for generating streams of
integers that emulate the behaviour of Python's range function.
2025-01-19 00:06:18 +08:00
zihluwang a85c562b66 docs: added docs 2025-01-18 14:06:13 +08:00
zihluwang 9664d34f2d test: unit test for Base64Util 2024-12-29 12:21:56 +08:00
zihluwang 74a4df5ad8 test: unit test for AesUtil 2024-12-27 11:39:05 +08:00
zihluwang bbf73d7ecf style: updated javadoc 2024-12-26 22:57:04 +08:00
zihluwang f587230072 style: updated copyright 2024-12-26 22:22:51 +08:00
zihluwang 2d3a0745f5 feat: implement map-object conversion with a safer method
If you still want to use the unsafe version, please use
com.onixbyte:map-util-unsafe.
2024-12-26 20:15:38 +08:00
zihluwang 2ee29059b5 feat: added mathematic calculators 2024-09-14 02:02:47 +08:00
zihluwang 846c25a098 style: removed unused imports 2024-08-22 21:43:59 +08:00
zihluwang 21aa2e2221 style: reduce redundant codes 2024-08-22 21:38:06 +08:00
熊熊熊子路 2c036a96c7 fix: added private constructor 2024-08-22 14:52:53 +08:00
shaoxinke 332dbe04e0 docs: added docs 2024-08-22 14:30:29 +08:00
shaoxinke 535fa18ec4 Merge branch 'feature/boolean-util' into release/1.6.2 2024-08-22 14:21:43 +08:00
shaoxinke 9bac26bb89 fix: changed return types to primitive types 2024-08-22 14:19:30 +08:00
shaoxinke 48f1230826 feat: added boolean util 2024-08-22 14:16:48 +08:00
zihluwang 53d24eab65 feat: added get result after a boolean calculation in BranchUtil 2024-08-22 11:48:02 +08:00
zihluwang 62b8cb8118 refactor: moved MapUtil implemented by reflect API to another package 2024-08-05 19:04:51 +08:00
zihluwang 23e9cc8109 docs: added JavaDoc 2024-06-30 13:10:38 +08:00
zihluwang a59fbe4dce perf: optimised MapUtil with safer implementations 2024-06-26 08:35:16 +08:00
Zihlu Wang 8601de7fb1 refactor: update copyright text
[skip ci]
2024-05-08 11:23:58 +08:00
Zihlu Wang 4068ecbeb0 refactor: update copyright text
[skip ci]
2024-05-08 11:11:01 +08:00
Zihlu Wang 47a8ad732d refactor: update copyright text
[skip ci]
2024-05-08 11:10:15 +08:00
Zihlu Wang 8dd0dad8d9 feat: Moved package name from cn.org.codecrafters to com.onixbyte 2024-04-26 01:50:46 +08:00
Zihlu Wang cb537a6844 Merge branch 'main' into development
# Conflicts:
#	devkit-core/src/main/resources/logback.xml
#	devkit-utils/src/main/resources/logback.xml
#	guid/src/main/resources/logback.xml
#	property-guard-spring-boot-starter/src/main/resources/logback.xml
#	simple-jwt-authzero/src/main/resources/logback.xml
#	simple-jwt-facade/src/main/resources/logback.xml
#	simple-jwt-jjwt/src/main/resources/logback.xml
#	simple-jwt-spring-boot-starter/src/main/resources/logback.xml
#	webcal/src/main/resources/logback.xml
2024-03-31 17:52:47 +08:00
Zihlu Wang bb79c126fa refactor: Optimised codes.
Move all private or protected to the last of files.
2024-03-31 17:47:42 +08:00
Zihlu Wang d593c83cc8 refactor: Optimised logging pattern. 2024-03-31 17:09:31 +08:00