Package pl.poznan.put.structure.formats
Class CombinedStrand
java.lang.Object
pl.poznan.put.structure.formats.AbstractCombinedStrand
pl.poznan.put.structure.formats.CombinedStrand
- All Implemented Interfaces:
DotBracket
- Direct Known Subclasses:
ImmutableCombinedStrand
A dot-bracket encoded structure made from combining one or more strands.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface pl.poznan.put.structure.formats.DotBracket
containsMissing, findStrand, isIsolated, isolatedSymbols, length, missingInternal, missingTerminal, originalIndex, pseudoknotOrder, sequence, sequence, structure, structure, toStringWithStrands
-
Constructor Details
-
CombinedStrand
public CombinedStrand()
-
-
Method Details
-
inputStrands
- Specified by:
inputStrands
in classAbstractCombinedStrand
- Returns:
- The list of input strands.
-
symbols
- Specified by:
symbols
in interfaceDotBracket
- Overrides:
symbols
in classAbstractCombinedStrand
- Returns:
- The list of dot-bracket symbols.
-
strands
- Specified by:
strands
in interfaceDotBracket
- Overrides:
strands
in classAbstractCombinedStrand
- Returns:
- The list of strands.
-
toString
-
combineStrands
Description copied from interface:DotBracket
Combines strands which share a base pair into a new dot-bracket instance and returns a list of those.- Specified by:
combineStrands
in interfaceDotBracket
- Overrides:
combineStrands
in classAbstractCombinedStrand
- Returns:
- The list of dot-bracket instances, each containing strands which only pair with each other.
-
pairs
-