Changes for page WebObjects with Scala
Last modified by Ravi Mendis on 2011/05/10 02:10
From version 333.1
edited by Ravi Mendis
on 2010/03/07 17:40
on 2010/03/07 17:40
Change comment:
There is no comment for this version
To version 334.1
edited by Ravi Mendis
on 2010/03/04 22:54
on 2010/03/04 22:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,13 +8,13 @@ 8 8 9 9 Here's a quick summary: 10 10 11 -|= |= Objective-C |= Java |= Scala12 -|= Separation ofMutable&Immuable Datatypes | Collections //e.g: NSArray/NSMutableArray// | No | Yes13 -|= Closures | Blocks (//Extension//) | No | Anonymous Functions14 -|= Static variables | Yes | Yes | No15 -|= Static methods or functions | Yes | Yes | No16 -|= Concurrency | [[Grand Central Dispatch>>http://en.wikipedia.org/wiki/Grand_Central_Dispatch]] (//Extension//)| //Threads// |[[Actors>>http://en.wikipedia.org/wiki/Actor_model]]17 -|= |= Weakly Typed |=--Strongly Typed--|= Strongly Typed11 +|= |= Objective-C |= Java |= Scala 12 +|= Mutable/Immuable Datatypes | Collections //e.g: NSArray/NSMutableArray// | No | Yes 13 +|= Closures | Blocks (//Extension//) | No | Anonymous Functions 14 +|= Static variables | Yes | Yes | No 15 +|= Static methods or functions| Yes | Yes | No 16 +|= Concurrency | [[Grand Central Dispatch>>http://en.wikipedia.org/wiki/Grand_Central_Dispatch]] (//Extension//)| //Threads// |[[Actors>>http://en.wikipedia.org/wiki/Actor_model]] 17 +|= |= Weakly Typed |=--Strongly Typed--|= Strongly Typed 18 18 19 19 Other notable features include: 20 20 ... ... @@ -186,11 +186,11 @@ 186 186 187 187 {{code}} 188 188 189 -def movies: NSArray[ Studio] = {190 - storedValueForKey(_Studio.Keys.MOVIES).asInstanceOf[NSArray[ Studio]]189 +def movies: NSArray[EOGenericRecord] = { 190 + storedValueForKey(_Studio.Keys.MOVIES).asInstanceOf[NSArray[EOGenericRecord]] 191 191 } 192 192 193 -def moviesList: List[ Studio] = {193 +def moviesList: List[EOGenericRecord] = { 194 194 movies.objects.toList 195 195 } 196 196