meshi.sequences
Class AlignmentColumn
java.lang.Object
meshi.sequences.AlignmentColumn
- Direct Known Subclasses:
- AtomAlignmentColumn, ResidueAlignmentColumn, SequenceAlignmentColumn
public class AlignmentColumn
- extends java.lang.Object
A container for an ordered set of coresponding protein elements.
Each of the elements comes form a different protein.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cells
protected AlignmentCell[] cells
AlignmentColumn
protected AlignmentColumn(int numberOfRows)
- Utility constructor for the sub-classes.
AlignmentColumn
public AlignmentColumn(AlignmentCell cell0,
AlignmentCell cell1)
add
public void add(int index,
AlignmentCell cell)
cell0
public AlignmentCell cell0()
cell1
public AlignmentCell cell1()
cell
public AlignmentCell cell(int index)
hasGap
public boolean hasGap()
allGaps
public boolean allGaps()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
size
public int size()