Packages

  • package root
    Definition Classes
    root
  • package scalation
    Definition Classes
    root
  • package par

    The par package contains classes, traits and objects for parallel processing techniques such as Map-Reduce.

    The par package contains classes, traits and objects for parallel processing techniques such as Map-Reduce.

    Definition Classes
    scalation
  • package plot

    The plot package contains classes, traits and objects for simple plotting of x-y data.

    The plot package contains classes, traits and objects for simple plotting of x-y data.

    Definition Classes
    scalation
  • package random

    The random package contains classes, traits and objects for the generation of random numbers.

    The random package contains classes, traits and objects for the generation of random numbers.

    Definition Classes
    scalation
  • package scala2d

    The scala2d package contains classes, traits and objects for simple 2D graphics in Scala, based upon java.swing, java.awt and It makes java.awt and javax.swing GUI classes available and insulates the rest of ScalaTion from changes to GUI libraries.

    The scala2d package contains classes, traits and objects for simple 2D graphics in Scala, based upon java.swing, java.awt and It makes java.awt and javax.swing GUI classes available and insulates the rest of ScalaTion from changes to GUI libraries. Only scalation.scala2d should import from java.awt or javax.swing.

    Definition Classes
    scalation
    See also

    Shapes.scala for providing classes in java.awt.geom.

  • package stat

    The stat package contains classes, traits and objects for basic statistical functions and analyses.

    The stat package contains classes, traits and objects for basic statistical functions and analyses. The package object itself defines an implicit conversion from scalation.linalgebra.VectorD to StatVector.

    Definition Classes
    scalation
  • package tenalgebra

    The tenalgebra package contains classes, traits and objects for tensors.

    The tenalgebra package contains classes, traits and objects for tensors.

    Definition Classes
    scalation
  • NormSqRleTask
  • RecTaskTest
  • SumRleTask
  • SumTask
  • Worker
  • WorkerTest
c

scalation

Worker

class Worker extends Thread

The Worker class allows tasks to be executed in parallel.

Linear Supertypes
Thread, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Worker
  2. Thread
  3. Runnable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Worker(task: (Int) ⇒ Any, i: Int)

    task

    the task/block of code to be executed

    i

    have the task work on the 'i'th segment of data

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def checkAccess(): Unit
    Definition Classes
    Thread
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    Thread → AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def getContextClassLoader(): ClassLoader
    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  11. def getId(): Long
    Definition Classes
    Thread
  12. final def getName(): String
    Definition Classes
    Thread
  13. final def getPriority(): Int
    Definition Classes
    Thread
  14. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Thread
  15. def getState(): State
    Definition Classes
    Thread
  16. final def getThreadGroup(): ThreadGroup
    Definition Classes
    Thread
  17. def getUncaughtExceptionHandler(): UncaughtExceptionHandler
    Definition Classes
    Thread
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def interrupt(): Unit
    Definition Classes
    Thread
  20. final def isAlive(): Boolean
    Definition Classes
    Thread
    Annotations
    @native()
  21. final def isDaemon(): Boolean
    Definition Classes
    Thread
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isInterrupted(): Boolean
    Definition Classes
    Thread
  24. final def join(): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  25. final def join(arg0: Long, arg1: Int): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  26. final def join(arg0: Long): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def run(): Unit

    Use the Threads 'run' method to execute the 'task' in parallel.

    Use the Threads 'run' method to execute the 'task' in parallel.

    Definition Classes
    Worker → Thread → Runnable
  31. def setContextClassLoader(arg0: ClassLoader): Unit
    Definition Classes
    Thread
  32. final def setDaemon(arg0: Boolean): Unit
    Definition Classes
    Thread
  33. final def setName(arg0: String): Unit
    Definition Classes
    Thread
  34. final def setPriority(arg0: Int): Unit
    Definition Classes
    Thread
  35. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit
    Definition Classes
    Thread
  36. def start(): Unit
    Definition Classes
    Thread
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    Thread → AnyRef → Any
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def countStackFrames(): Int
    Definition Classes
    Thread
    Annotations
    @native() @Deprecated
    Deprecated
  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  3. final def resume(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  4. final def stop(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  5. final def suspend(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated

Inherited from Thread

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped