Thu Jun 6 07:26:54 PDT 1996 Class PrimeFilter

Class PrimeFilter

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----Filter
                   |
                   +----PrimeFilter

class PrimeFilter
extends Filter
To keep it simple and focus on the concurrency aspects these PrimeFilters can not handle integers greater than 63. Input::= zero | prime #possible_prime zero. possible_prime::=multiple_of_this | non_multiple. Output::= #non_multiple zero.

Constructor Index

PrimeFilter(PipedOutputStream)

Method Index

run()


Constructors

PrimeFilter
  public PrimeFilter(PipedOutputStream in)


Methods

run
  public void run()
Overrides:
run in class Thread