Just a quick note (as far as I see nobody has mentioned yet):
ArrayList<...>
reference types should be simply List<...>
. See: Effective Java, 2nd edition, Item 52: Refer to objects by their interfaces
Just a quick note (as far as I see nobody has mentioned yet):
ArrayList<...>
reference types should be simply List<...>
. See: Effective Java, 2nd edition, Item 52: Refer to objects by their interfaces