News
I wrote about the NetBeans hint “Overridable Method Call in Constructor” in the blog post Seven Indispensable NetBeans Java Hints. In this post, I look at why having an overridable method ...
There are a couple approaches to consider how to rectify the Java method modifier misuse issue. A developer can move the shared code into a private method that both public methods call or move one of ...
Hello I'm writing a file parser that needs to the results of it parsing into a particular class. In the name of good code re-use in the future I didn't want ...
In the age of Servlets and JSPs, Java’s main function took a backseat to these technologies that were initialized with a call to their init() method, and invoked through calls to their doGet() or ...
Method and variable handles vs. Java reflection. To truly understand MethodHandles and VarHandles—what they do and why they are useful—it’s helpful to know a few things about reflection in Java.
You may be used to seeing the wait(), notify(), and notifyAll() methods called within synchronized methods. But here's a subtlety that you may not know: The caller of the wait(), notify(), and ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results