JackbyDev ( JackbyDev@programming.dev ) M to Java@programming.dev · 3 years agoWhat are some things in the class library you wish more people knew about or used?docs.oracle.comexternal-linkmessage-square18linkfedilinkarrow-up114file-text
arrow-up114external-linkWhat are some things in the class library you wish more people knew about or used?docs.oracle.comJackbyDev ( JackbyDev@programming.dev ) M to Java@programming.dev · 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-squareJackbyDev ( JackbyDev@programming.dev ) OPlinkfedilinkarrow-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.