I figured out a a problem in my Code. First the code:
public class Main { /** * @param args */ public static void main(String[] args) {
The for-each loop don't modify the objects contained in the Collection of objects it's iterating over. It's passing the value not the reference.