edu.sc.seis.seisFile.sac
Class SacPoleZero

java.lang.Object
  extended by edu.sc.seis.seisFile.sac.SacPoleZero

public class SacPoleZero
extends java.lang.Object


Field Summary
protected static java.text.DecimalFormat constantFormatter
           
protected static java.text.DecimalFormat formatter
           
 
Constructor Summary
SacPoleZero(java.io.BufferedReader in)
           
SacPoleZero(Complex[] poles, Complex[] zeros, float constant)
           
SacPoleZero(java.lang.String filename)
           
 
Method Summary
 boolean close(java.lang.Object obj)
           
 boolean closeButConstant(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 float getConstant()
           
 Complex[] getPoles()
           
 Complex[] getZeros()
           
 int hashCode()
           
static Complex[] initCmplx(int length)
           
protected  void read(java.io.BufferedReader in)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

formatter

protected static java.text.DecimalFormat formatter

constantFormatter

protected static java.text.DecimalFormat constantFormatter
Constructor Detail

SacPoleZero

public SacPoleZero(java.io.BufferedReader in)
            throws java.io.IOException
Throws:
java.io.IOException

SacPoleZero

public SacPoleZero(java.lang.String filename)
            throws java.io.IOException
Throws:
java.io.IOException

SacPoleZero

public SacPoleZero(Complex[] poles,
                   Complex[] zeros,
                   float constant)
Method Detail

getConstant

public float getConstant()

getPoles

public Complex[] getPoles()

getZeros

public Complex[] getZeros()

toString

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

read

protected void read(java.io.BufferedReader in)
             throws java.io.IOException
Throws:
java.io.IOException

initCmplx

public static Complex[] initCmplx(int length)

close

public boolean close(java.lang.Object obj)

closeButConstant

public boolean closeButConstant(java.lang.Object obj)

equals

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

hashCode

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