|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.EPQLibrary.BaseSpectrum
public abstract class BaseSpectrum
Implements a set of utility functions that are of use across the full set of ISpectrumData based classes.
Copyright: Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain
Company: National Institute of Standards and Technology
| Field Summary | |
|---|---|
protected int |
mHashCode
|
protected static int |
NULL_HASH
|
static BaseSpectrum |
NullSpectrum
A null spectrum (no counts) for use as a benign error return in certain methods |
| Constructor Summary | |
|---|---|
protected |
BaseSpectrum()
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
compareTo - Keeping spectra in the order in which they were constructed. |
boolean |
equals(java.lang.Object obj)
equals - Returns true if two spectra contain identical counts in each channel, the channel width & zero offset are equal and the SpectrumProperties are the same. |
int |
hashCode()
|
protected void |
initializeSpectrumIndex()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nist.microanalysis.EPQLibrary.ISpectrumData |
|---|
getChannelCount, getChannelWidth, getCounts, getProperties, getZeroOffset |
| Field Detail |
|---|
protected static final int NULL_HASH
protected transient int mHashCode
public static final BaseSpectrum NullSpectrum
| Constructor Detail |
|---|
protected BaseSpectrum()
| Method Detail |
|---|
protected void initializeSpectrumIndex()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(java.lang.Object object)
compareTo in interface java.lang.Comparableobject - Object
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||