Eric Pugh wrote:
If I put in a really big number and then try to retrieve it as an Integer, getting back -1 would be a rather shock! I think I would rather hit an
exception instead, thereby clueing me in that I couldn't downcast...
Actually it's just consistent with the downcasting in Java:
( (int) Long.MAX_VALUE ) == -1
Emmanuel Bourg
smime.p7s
Description: S/MIME Cryptographic Signature
