diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2012-08-12 23:10:19 +0200 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2012-08-12 23:10:19 +0200 |
commit | 6ae3c375a9e8a97ff96649b3637e4a011d849990 (patch) | |
tree | d455d4435336f64d1cf0a2f5e540f4424e2d7628 /examples/src/main/scala | |
parent | 0141879c400732242ca90c41ae44e85dfe546db8 (diff) | |
download | spark-6ae3c375a9e8a97ff96649b3637e4a011d849990.tar.gz spark-6ae3c375a9e8a97ff96649b3637e4a011d849990.tar.bz2 spark-6ae3c375a9e8a97ff96649b3637e4a011d849990.zip |
Renamed apply() to call() in Java API and allowed it to throw Exceptions
Diffstat (limited to 'examples/src/main/scala')
-rw-r--r-- | examples/src/main/scala/spark/examples/SparkTC.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/src/main/scala/spark/examples/SparkTC.scala b/examples/src/main/scala/spark/examples/SparkTC.scala index a095476a23..a6e4de4671 100644 --- a/examples/src/main/scala/spark/examples/SparkTC.scala +++ b/examples/src/main/scala/spark/examples/SparkTC.scala @@ -5,6 +5,9 @@ import SparkContext._ import scala.util.Random import scala.collection.mutable +/** + * Transitive closure on a graph. + */ object SparkTC { val numEdges = 200 |