JackbyDevM to Java • 1 year agoWhat are some things in the class library you wish more people knew about or used?docs.oracle.commessage-square18arrow-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 • 1 year agomessage-square18file-text
I’m curious if there are things in the standard class library that you find useful but not widely used.
minus-squareJackbyDevOPMlink3•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.