Class GORLine

java.lang.Object
gorsat.external.plink.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 Summary

    Modifier and Type Method Description
    void close()  
    int compareTo​(GORLine other)  
    java.lang.String getHeader()  
    GORLine next()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • 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>