JackbyDevM to Java · 2 years agoWhat are some things in the class library you wish more people knew about or used?docs.oracle.comexternal-linkmessage-square18fedilinkarrow-up116arrow-down10file-text
arrow-up116arrow-down1external-linkWhat are some things in the class library you wish more people knew about or used?docs.oracle.comJackbyDevM to Java · 2 years agomessage-square18fedilinkfile-text
I’m curious if there are things in the standard class library that you find useful but not widely used.
minus-squareJackbyDevOPMlinkfedilinkarrow-up3·2 years agoThose 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.
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. TheCountDownLatch
andPhaser
may have been better.