Package edu.sc.seis.TauP

# Class PhaseName

java.lang.Object
edu.sc.seis.TauP.PhaseName

All Implemented Interfaces:
  `java.io.Serializable`

    public class PhaseName
    extends java.lang.Object
    implements java.io.Serializable

Convenience class that allows a sac header variable to be associated with a seismic phase name.

See Also:
  Serialized Form

- ## Field Summary

  Fields
  Modifier and Type | Field | Description
  --- | --- | ---
  `java.lang.String` | `name` | name of the phase, ie PKIKP
  `int` | `sacTNum` | sac t header to be associated with the phase

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `PhaseName​(java.lang.String name)` |
  `PhaseName​(java.lang.String name, int sacTNum)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `boolean` | `equals​(PhaseName obj)` |
  `java.lang.String` | `getName()` |
  `java.lang.String` | `toString()` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### name

    public java.lang.String name
    name of the phase, ie PKIKP

  - ### sacTNum

    public int sacTNum
    sac t header to be associated with the phase

- ## Constructor Details

  - ### PhaseName

    public PhaseName​(java.lang.String name) throws TauModelException
    Throws:
      `TauModelException`

  - ### PhaseName

    public PhaseName​(java.lang.String name, int sacTNum) throws TauModelException
    Throws:
      `TauModelException`

- ## Method Details

  - ### equals

    public boolean equals​(PhaseName obj)

  - ### getName

    public java.lang.String getName()

  - ### toString

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