this post was submitted on 16 Jun 2023
16 points (100.0% liked)

Java

1416 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 2 years ago
MODERATORS
 

I'm curious if there are things in the standard class library that you find useful but not widely used.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 2 years ago (1 children)

Don't forget its subtypes. OptionalInt, OptionalDouble etc. This avoids auto(un)boxing.

[โ€“] [email protected] 1 points 2 years ago

Oh wow that's great. I didn't know about those at all.