Wednesday, 16 July 2014

No implicit type cast between Integer and Double

It is interesting that a collection once defined as List <Double> does not accept Integer objects.

Message: No implicit type cast from Integer to Double.