Sometimes the runtime speed of collection methods can vary extremely when called with different Collection implementations. But why?
Evaluation of ThreadSafe made me think about the Java Memory Model and its implications on threaded programs.
User experience of games and multi media applications is highly bound to a feeling of smoothness. This smoothness feeling is quickly lost when
The double-check idiom is a way to reduce lock contention for a lazy initialized thread safe class. Unfortunately it used not to work. Luckily it was fixed. ...
How should equals() behave in case of polymorphic classes? What are the pitfalls here?