Class StrandedFeature.Strand

  • All Implemented Interfaces:
    Enclosing interface:

    public static final class StrandedFeature.Strand
    extends Object
    implements Serializable
    Class to represent the 'strandedness' of a feature.

    Strandedness may be re-used in other situations, but basically what it means is whether the feature has directionality, and if it does, does it travel from its location min to max, or max to min.

    Matthew Pocock
    See Also:
    Serialized Form
    • Method Detail

      • getValue

        public int getValue()
        Returns the integer label for strandedness. That is, "+1", "-1", or "0" for positive, negative, and unknown strands respectively.
      • getToken

        public char getToken()
        Returns the token for strandedness. That is, "+","-","." for positive, negative and unknown strands respectively.