Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number utils #58

Closed
ljacqu opened this issue Dec 30, 2022 · 0 comments
Closed

Number utils #58

ljacqu opened this issue Dec 30, 2022 · 0 comments
Milestone

Comments

@ljacqu
Copy link
Owner

ljacqu commented Dec 30, 2022

Similar to the Primitives enum, some definitions of Number implementations would be nice (short, int, double, etc.) that hold their value range, that allow conversions (with two flavors of just converting vs. complaining if there is an under-/overflow).

  • Maybe not as an enum so it can be extended for other Number implementations?
  • Should also include out-of-the-box support for BigInteger, BigDecimal (and AtomicInteger?)
  • What about Character?
  • Method to parse from a String to the Number?
ljacqu added a commit that referenced this issue Jun 21, 2023
@ljacqu ljacqu added this to the 0.1.0 milestone Jun 21, 2023
ljacqu added a commit that referenced this issue Jun 22, 2023
ljacqu added a commit that referenced this issue Jun 22, 2023
@ljacqu ljacqu closed this as completed Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant