I wonder if in x10 I can do something like this:

Write a generic method that takes two arguments x and y, both of the same 
numerical type (i.e. both Int, or both Double, etc.), and returns their sum x+y 
as a value of the proper type.
I know this can easily be done in Java
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to