Actually, this is supposed to be a generic collection, so no generics would have helped, you would only have had V as type.