custom counter

Category Archives: java

Ordering a list of Objects

This Java tip relates to functionality that has been around for quite a while but a lot of people are still not aware of it. There are many occasions when you may need to order a list of data objects. Luckily the Java Collections Framework provides utilites to allow objects to be easily ordered. The [...]
Also posted in Collections, tips | Leave a comment

Java List Tip

As I mentioned before, every Java programmer must own Effective Java by Joshua Bloch. Here is one of the tips from the book. It discusses is "Minimizing the scope of local variables" (Item 29). Part of this tip, that might be of interest to developers here is: Iteration of List's In his book, Bloch discusses [...]
Also posted in list, tips | Leave a comment