Class StrandView

  • All Implemented Interfaces:
    DotBracket, Strand
    Direct Known Subclasses:
    ImmutableStrandView

    @Immutable
    public abstract class StrandView
    extends Object
    implements Strand
    A strand which is defined as a fragment of a dot-bracket structure.
    • Constructor Detail

      • StrandView

        public StrandView()
    • Method Detail

      • name

        @Parameter(order=1)
        public abstract String name()
        Specified by:
        name in interface Strand
        Returns:
        The name of the strand.
      • description

        public final String description()
        Description copied from interface: Strand
        Prepares description of strand in RNAComposer format. The format has 5 elements: index-from, index-to, sequence, structure, RY-sequence.
        Specified by:
        description in interface Strand
        Returns:
        A description of strand in RNAComposer format.
      • begin

        @Parameter(order=3)
        public abstract int begin()
        Specified by:
        begin in interface Strand
        Returns:
        The index of the first residue in this strand.
      • end

        @Parameter(order=4)
        public abstract int end()
        Specified by:
        end in interface Strand
        Returns:
        The index of the last residue in this strand.
      • parent

        @Parameter(order=2)
        public abstract DotBracket parent()
        Returns:
        The parent dot-bracket structure of this strand.