JackbyDev@programming.devM to Java@programming.dev · 1 year agoWhat are some things in the class library you wish more people knew about or used?docs.oracle.comexternal-linkmessage-square17fedilinkarrow-up17arrow-down10file-text
arrow-up17arrow-down1external-linkWhat are some things in the class library you wish more people knew about or used?docs.oracle.comJackbyDev@programming.devM to Java@programming.dev · 1 year agomessage-square17fedilinkfile-text
I’m curious if there are things in the standard class library that you find useful but not widely used.
minus-squareJackbyDev@programming.devOPMlinkfedilinkarrow-up2·1 year 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.