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
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
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
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
Zihlu Wang
1a194396ff
feat: Added logback configurations to each project and upgrade jjwt to 0.12.5
2024-03-11 15:17:11 +08:00
Zihlu Wang
23c2a2bd06
docs: Added some documents.
2024-01-31 12:26:13 +08:00
Zihlu Wang
e8c124d8ec
fix: Fix the issue that reports illegal base64 character when decoding a JWT Payload
2024-01-25 23:34:20 +08:00
Zihlu Wang
aa3213cbbe
refactor(devkit-utils): Changed the location of some codes.
2023-09-19 08:51:42 +08:00
Zihlu Wang
f80c47e8ad
docs(global): Optimised javadoc, changed the spelling to British English.
2023-09-18 15:04:10 +08:00
Zihlu Wang
a66879a99b
docs(devkit-utils): Optimised javadoc, changed to better expression.
2023-09-16 17:08:04 +08:00
Zihlu Wang
7b653edb3b
docs(global): Changed spelling with BrE.
2023-09-15 15:41:23 +08:00
Zihlu Wang
6549373e8d
docs(global): Optimised javadocs.
2023-09-15 15:36:25 +08:00
Zihlu Wang
c655a6d9a1
feat(devkit-utils): Added AesUtil.
2023-09-09 18:49:43 +08:00
Zihlu Wang
1370ed4e77
build(devkit-utils): Renamed module dev-utils to devkit-utils
2023-07-31 23:45:58 +08:00