Class AbstractSegment

    • Field Detail

      • marker

        public final int marker
        Segment marker.
      • length

        public final int length
        Segment length.
    • Constructor Detail

      • AbstractSegment

        public AbstractSegment​(int marker,
                               int length)
        Constructs a new instance.
        Parameters:
        marker - segment marker.
        length - segment length.
    • Method Detail

      • dump

        public void dump​(java.io.PrintWriter pw)
      • getDescription

        public abstract java.lang.String getDescription()
        Gets the description.
        Returns:
        the description.
      • getSegmentType

        public java.lang.String getSegmentType()
        Gets the type.
        Returns:
        the type.
      • toString

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