added foldByKey
restrict V type of foldByKey in order to retain ClassManifest; added foldByKey to Java API and test
Adding Java versions of Pi and LogQuery
Fuller implementation of foldByKey
whitespace cleanup
Merge branch 'master' of https://github.com/mesos/spark into foldByKey
Merge branch 'master' of https://github.com/mesos/spark into foldByKey
refactor foldByKey to use combineByKey
whitespace
Changes to more closely match line length limit style
Adds page to docs about building using Maven.
Adds links to new instructions in:
* The main Spark project README.md
* The docs nav menu called "More"
* The docs Overview page under the "Building" and "Where to Go from Here" sections
Adding Java K-Means example
A few cosmetic changes for JavaKMeans
Added mapSideCombine flag to CoGroupedRDD. Added unit test for
CoGroupedRDD.
Merge branch 'master' of github.com:mesos/spark into cogroup
Java indentation 2 --> 4 spaces
Java indentation 4 --> 2 spaces
Merge branch 'java-examples' of https://github.com/MLnick/spark into java-examples
Merge pull request #526 from markhamstra/foldByKey

Add foldByKey
Merge pull request #528 from MLnick/java-examples

[SPARK-707] Adding Java versions of Pi, LogQuery and K-Means examples