Class JavaSparkPi


  • public final class JavaSparkPi
    extends java.lang.Object
    Computes an approximation to pi. Usage: JavaSparkPi [partitions]
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Main method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Main method.
        Parameters:
        args - arguments.
        Throws:
        java.lang.Exception - exceptions.