Documentation of 'edu.rit.pj.test.Test05' Java class
Test05
edu.rit.pj.test

Class Test05



  • public class Test05
    extends java.lang.Object
    Class Test05 is a unit test main program for classes ParallelTeam, ParallelRegion, and IntegerForLoop. A parallel for loop iterates over a given range of indexes. Each iteration prints the loop index and the thread index executing that loop index. If the loop index exceeds 10, an exception is thrown.

    Usage: java -Dpj.nt=K edu.rit.pj.test.Test05 lb ub
    K = Number of parallel threads
    lb = Loop index lower bound, inclusive
    ub = Loop index upper bound, inclusive

    • Method Summary

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

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

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Unit test main program.
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.