Commit Graph

90 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 a8029d6ca7 docs: added developer information 2025-05-22 13:43:34 +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
siujamo 098a2fd4a7 chore: downgrade junit to 5.11.4 2025-04-24 14:53:11 +08:00
siujamo 5503dc572b refactor: changed to version catalogue and upgraded dependencies 2025-04-24 11:43:41 +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
siujamo ef8cde211d feat: moved devkit-bom inside this project 2025-03-21 11:16:17 +08:00
siujamo f7c809b557 refactor: renamed module simple-serial to simple-serial-spring-boot-starter and removed build scripts in root build.gradle.kts 2025-03-21 10:33:52 +08:00
zihluwang d535bd165f docs: optimised docs 2025-02-15 12:23:22 +08:00
zihluwang 42d40c3d15 docs: updated readme 2025-01-26 21:14:42 +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 96787889a6 refactor: renamed variables in build scripts 2024-10-22 22:19:05 +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 cc5ed4beec ci: fix ci error
github packages is occuring some unknown issues
2024-06-30 13:20:54 +08:00