org.biojava3.alignment.template
Class CallablePairwiseSequenceScorer<S extends Sequence<C>,C extends Compound>

java.lang.Object
  extended by org.biojava3.alignment.template.CallablePairwiseSequenceScorer<S,C>
Type Parameters:
S - each Sequence of the pair is of type S
C - each element of a Sequence is a Compound of type C
All Implemented Interfaces:
Callable<Integer>

public class CallablePairwiseSequenceScorer<S extends Sequence<C>,C extends Compound>
extends Object
implements Callable<Integer>

Implements a concurrency wrapper for a PairwiseSequenceScorer.

Author:
Mark Chapman

Constructor Summary
CallablePairwiseSequenceScorer(PairwiseSequenceScorer<S,C> pss)
          Creates a pairwise sequence scoring task for simplified parallel execution.
 
Method Summary
 Integer call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallablePairwiseSequenceScorer

public CallablePairwiseSequenceScorer(PairwiseSequenceScorer<S,C> pss)
Creates a pairwise sequence scoring task for simplified parallel execution.

Parameters:
pss - already initialized pairwise sequence scorer
Method Detail

call

public Integer call()
Specified by:
call in interface Callable<Integer>