10

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
[-] JackbyDev@programming.dev 2 points 3 years ago

Those sound useful. I haven't had to do much cross-thread synchronization thankfully, but I have had to use a BlockingDeque to check that some events came and in the right order. The CountDownLatch and Phaser may have been better.

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

Java

2038 readers
1 users here now

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

founded 3 years ago
MODERATORS