Class AbstractGCFBlock

java.lang.Object
edu.sc.seis.seisFile.gcf.AbstractGCFBlock
Direct Known Subclasses:
GCFBlock, GCFStatusBlock

public abstract class AbstractGCFBlock
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected AbstractGCFBlock​(GCFHeader header)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    GCFHeader getHeader()  
    abstract int getSize()  
    int hashCode()  
    static AbstractGCFBlock read​(java.io.DataInput in, boolean isSerial)  
    abstract void write​(java.io.DataOutput out)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getHeader

      public GCFHeader getHeader()
    • getSize

      public abstract int getSize()
    • write

      public abstract void write​(java.io.DataOutput out) throws java.lang.NumberFormatException, java.io.IOException
      Throws:
      java.lang.NumberFormatException
      java.io.IOException
    • read

      public static AbstractGCFBlock read​(java.io.DataInput in, boolean isSerial) throws java.io.IOException, GCFFormatException
      Throws:
      java.io.IOException
      GCFFormatException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object