Class GORLine

  • All Implemented Interfaces:
    java.lang.Comparable<GORLine>

    public class GORLine
    extends java.lang.Object
    implements java.lang.Comparable<GORLine>
    This class merges gor lines from multiple BufferedReaders. Use with PriorityQueue.
    • Method Detail

      • toString

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

        public java.lang.String getHeader()
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • next

        public GORLine next()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • compareTo

        public int compareTo​(GORLine other)
        Specified by:
        compareTo in interface java.lang.Comparable<GORLine>