No, fields are always just fields
However there is a similar thing we needed for array update, where
arr("blah") = v is a syntax sugar for arr.set(v,"blah")
also x("blah") is syntax for x.apply("blah")
By defining appropriate apply and set methods, one can implement what you
are asking for, but it won't be as fast as method calls.
BTW 'property' means something else in X10, it is a field whose value can be
constrained by the programmer in a type annotation in order to help the
compiler generate more efficient code
On Sun, Dec 19, 2010 at 9:45 PM, Julio M. Otuyama <[email protected]> wrote:
> Does x10 support property (get/set)?
> http://en.wikipedia.org/wiki/Property_(programming)<http://en.wikipedia.org/wiki/Property_%28programming%29>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> X10-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/x10-users
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users