Changes for page WebObjects with Scala
Last modified by Ravi Mendis on 2011/05/10 02:10
From version 380.1
edited by Ravi Mendis
on 2009/12/02 00:22
on 2009/12/02 00:22
Change comment:
There is no comment for this version
To version 383.1
edited by Ravi Mendis
on 2009/12/08 18:58
on 2009/12/08 18:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -155,6 +155,14 @@ 155 155 156 156 {{/code}} 157 157 158 +==== Scala Annotations vs. Generic Accessors ==== 159 + 160 +An example of accessing variables in the following languages: 161 + 162 +|= |= Objective-C |= Java |= Scala 163 +|= getter | [[object name]] | object.getName() | object.name 164 +|= setter | [[object setName:aName]] | object.setName(aName) | object.name = aName 165 + 158 158 == How to Use Scala Collections with EOF == 159 159 160 160 One of the benefits of Scala is its very powerful, concurrency-ready collection classes - primarily ##List##, ##Map##, ##Seq## and ##Set##.