Class Sieve

java.lang.Object
  |
  +--Task
        |
        +--Sieve
All Implemented Interfaces:
net.jini.core.entry.Entry, java.io.Serializable

public final class Sieve
extends Task

See Also:
Serialized Form

Field Summary
 java.lang.Long N
           
 java.lang.Integer P
           
 
Fields inherited from class Task
data, done, id, result
 
Constructor Summary
Sieve()
           
Sieve(int workerID, long largest, int nworkers)
           
 
Method Summary
protected  java.lang.Object compute()
           
 java.lang.Object mergeResult(java.lang.Object r)
           
 java.lang.String name()
           
 void reportResult(java.lang.Object r)
           
 
Methods inherited from class Task
execute, finalize, keepData
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

N

public java.lang.Long N

P

public java.lang.Integer P
Constructor Detail

Sieve

public Sieve()

Sieve

public Sieve(int workerID,
             long largest,
             int nworkers)
Method Detail

compute

protected java.lang.Object compute()
Overrides:
compute in class Task

mergeResult

public java.lang.Object mergeResult(java.lang.Object r)
Overrides:
mergeResult in class Task

reportResult

public void reportResult(java.lang.Object r)
Overrides:
reportResult in class Task

name

public java.lang.String name()
Overrides:
name in class Task