JackbyDevM to Java · 3 years agoWhat are some things in the class library you wish more people knew about or used?docs.oracle.comexternal-linkmessage-square18linkfedilinkarrow-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 · 3 years agomessage-square18linkfedilinkfile-text
I’m curious if there are things in the standard class library that you find useful but not widely used.
minus-squareJackbyDevOPMlinkfedilinkarrow-up3·3 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
BlockingDequeto check that some events came and in the right order. TheCountDownLatchandPhasermay have been better.