edu.sc.seis.fissuresUtil.display
Class AlphaSeisSorter

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.display.SeismogramSorter
      extended by edu.sc.seis.fissuresUtil.display.AlphaSeisSorter

public class AlphaSeisSorter
extends SeismogramSorter

AlphaSeisSorter.java Created: Thu Jul 4 12:40:41 2002


Field Summary
 
Fields inherited from class edu.sc.seis.fissuresUtil.display.SeismogramSorter
names
 
Constructor Summary
AlphaSeisSorter()
           
 
Method Summary
 int sort(DataSetSeismogram seismogram)
          sort uses the names list in SeismogramSorter to return the alphabetical position of this name and then adds it to the list
 
Methods inherited from class edu.sc.seis.fissuresUtil.display.SeismogramSorter
clear, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlphaSeisSorter

public AlphaSeisSorter()
Method Detail

sort

public int sort(DataSetSeismogram seismogram)
sort uses the names list in SeismogramSorter to return the alphabetical position of this name and then adds it to the list

Overrides:
sort in class SeismogramSorter
Parameters:
seismograms - the seismograms that belong to this name
name - the name to be sorted
Returns:
the names alphabetical position in the list, numbered from 0