Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.man.bioinf.analysis.consensus
Class ThreadedConsensusSequence

    java.lang.Object
      |
      +--uk.ac.man.bioinf.sequence.AbstractSequence
            |
            +--uk.ac.man.bioinf.sequence.AbstractMutableSequence
                  |
                  +--uk.ac.man.bioinf.sequence.alignment.AbstractGappedSequence
                        |
                        +--uk.ac.man.bioinf.analysis.consensus.DefaultConsensusSequence
                              |
                              +--uk.ac.man.bioinf.analysis.consensus.ThreadedConsensusSequence

All Implemented Interfaces:
  AlignmentListener, ConsensusSequence, EventListener, GappedSequence, Identifiable, MutableSequence, Sequence, SequenceEventProvider, SequenceListener

public class ThreadedConsensusSequence
extends DefaultConsensusSequence

ThreadedConsensusSequence.java This class calls the calculation out of the event thread, so that background analysis is made more easily. To use this class you have to provide it with a thread that it can use for the calculation. You can do this either on a per instance basis, or by setting a static default. You have to do one of the other though! Created: Tue Nov 7 18:36:22 2000

Version:
  $Id: ThreadedConsensusSequence.java,v 1.3 2001/04/11 17:04:41 lord Exp $
Author:
  Phillip Lord

Constructor Summary
`ThreadedConsensusSequence(ConsensusCalculator calculator)`
`ThreadedConsensusSequence(ConsensusCalculator calculator, InvokerInternalQueue queue)`

Method Summary
`void` | `destroy()`
`static InvokerInternalQueue` | `getDefaultInvokerInternalQueue()`
`static void` | `setDefaultInvokerInternalQueue(InvokerInternalQueue queue)`
`protected void` | `validate()`

Methods inherited from class uk.ac.man.bioinf.analysis.consensus.DefaultConsensusSequence
`calcConsensus, changeOccurred, changeOccurred, deleteGapAtQuietly, fireChangeEvent, getConsensusCalculator, getElementAt, getGappedElementAt, getGappedLength, getGappedPositionOf, getGappedSequenceAsElements, getGappedSubSequence, getIdentifier, getLength, getSequenceAsElements, getUngappedPositionOf, insertGapAtQuietly, installAlignmentListeners, installVetoListeners, setConsensusCalculator, uninstallAlignmentListners`

Methods inherited from class uk.ac.man.bioinf.sequence.alignment.AbstractGappedSequence
`checkGappedRange, checkGappedRangeForInsert, deleteGapAt, deleteGapAt, getGappedElementAtAsChar, getGappedSequenceAsChars, getGappedSequenceIndexException, insertGapAt, insertGapAt`

Methods inherited from class uk.ac.man.bioinf.sequence.AbstractMutableSequence
`addSequenceListener, addVetoableSequenceListener, fireSequenceEvent, fireVetoableSequenceEvent, hasListeners, removeSequenceListener, removeVetoableSequenceListener`

Methods inherited from class uk.ac.man.bioinf.sequence.AbstractSequence
`checkRange, checkSequenceType, checkSequenceType, getElementAtAsChar, getSequenceAsChars, getSequenceIndexException, getSequenceType, getSequenceTypeException, getSubSequence`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface uk.ac.man.bioinf.sequence.alignment.GappedSequence
`deleteGapAt, deleteGapAt, getGappedElementAtAsChar, getGappedSequenceAsChars, insertGapAt, insertGapAt`

Methods inherited from interface uk.ac.man.bioinf.sequence.Sequence
`getElementAtAsChar, getSequenceAsChars, getSequenceType, getSubSequence`

Methods inherited from interface uk.ac.man.bioinf.sequence.event.SequenceEventProvider
`addSequenceListener, addVetoableSequenceListener, removeSequenceListener, removeVetoableSequenceListener`

Constructor Detail

### ThreadedConsensusSequence

    public ThreadedConsensusSequence(ConsensusCalculator calculator)

### ThreadedConsensusSequence

    public ThreadedConsensusSequence(ConsensusCalculator calculator,
                                     InvokerInternalQueue queue)

Method Detail

### validate

    protected void validate()

  Overrides:
    `validate` in class `DefaultConsensusSequence`

### destroy

    public void destroy()

  Specified by:
    `destroy` in interface `ConsensusSequence`
  Overrides:
    `destroy` in class `DefaultConsensusSequence`

### setDefaultInvokerInternalQueue

    public static void setDefaultInvokerInternalQueue(InvokerInternalQueue queue)

### getDefaultInvokerInternalQueue

    public static InvokerInternalQueue getDefaultInvokerInternalQueue()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD