优化 Ref API #14

Merged
ZhouXY108 merged 1 commits from :optimization/ref into 1.x.x 2025-01-07 17:01:57 +08:00
Owner
  • 删除 BoolRef、CharRef、DoubleRef、IntRef、LongRef
  • 在 Ref 对象内部修改 value 的方法定义为 Ref#transformValue
  • Ref#transform 方法定义为修改 value 后,返回新的 Ref 对象
  • 新增 Ref#of 和 Ref#empty 相关静态工厂方法;构造方法修改为 private
  • 新增 Ref#checkValue 方法
- 删除 BoolRef、CharRef、DoubleRef、IntRef、LongRef - 在 Ref 对象内部修改 value 的方法定义为 Ref#transformValue - Ref#transform 方法定义为修改 value 后,返回新的 Ref 对象 - 新增 Ref#of 和 Ref#empty 相关静态工厂方法;构造方法修改为 private - 新增 Ref#checkValue 方法
ZhouXY108 added 1 commit 2025-01-07 17:01:38 +08:00
ZhouXY108 merged commit 044320a2a9 into 1.x.x 2025-01-07 17:01:57 +08:00
ZhouXY108 deleted branch optimization/ref 2025-01-07 17:01:57 +08:00
ZhouXY108 referenced this issue from a commit 2025-01-07 17:01:59 +08:00
Sign in to join this conversation.
No description provided.