Class Custom

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Interval>, java.lang.Iterable<KeyValue<java.lang.String,​java.lang.String>>, TxtSerializable
    Direct Known Subclasses:
    GffMarker

    public class Custom
    extends Marker
    implements java.lang.Iterable<KeyValue<java.lang.String,​java.lang.String>>
    This is a custom interval (i.e. intervals provided by the user)
    Author:
    pcingola
    See Also:
    Serialized Form
    • Constructor Detail

      • Custom

        public Custom()
      • Custom

        public Custom​(Marker parent,
                      int start,
                      int end,
                      boolean strandMinus,
                      java.lang.String id,
                      java.lang.String label)
    • Method Detail

      • cloneShallow

        public Custom cloneShallow()
        Description copied from class: Marker
        Perform a shallow clone
        Overrides:
        cloneShallow in class Marker
      • getLabel

        public java.lang.String getLabel()
      • getScore

        public double getScore()
      • hasAnnotations

        public boolean hasAnnotations()
        Do we have additional annotations?
      • iterator

        public java.util.Iterator<KeyValue<java.lang.String,​java.lang.String>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<KeyValue<java.lang.String,​java.lang.String>>
      • setLabel

        public void setLabel​(java.lang.String label)
      • setScore

        public void setScore​(double score)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Marker