hep.analysis.partition
Class StringBinFinder

java.lang.Object
  |
  +--hep.analysis.partition.AbstractBinFinder
        |
        +--hep.analysis.partition.StringBinFinder
All Implemented Interfaces:
BinFinder, BinInfo, java.io.Serializable

public class StringBinFinder
extends AbstractBinFinder
implements BinInfo, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
StringBinFinder(RangeChangeListener l)
          Construcs a BinFinder that gives each bin a name The RangeChangeListener will be called each time a new name is added to the list of bins.
 
Method Summary
 void clear()
           
 int getBinAt(java.lang.String s)
           
 java.lang.String[] getBinNames()
           
 double getMax()
           
 double getMin()
           
 int getNumberOfBins()
           
 
Methods inherited from class hep.analysis.partition.AbstractBinFinder
getBinAt, getBinAt, getBinAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringBinFinder

public StringBinFinder(RangeChangeListener l)
Construcs a BinFinder that gives each bin a name The RangeChangeListener will be called each time a new name is added to the list of bins.
Method Detail

getBinAt

public int getBinAt(java.lang.String s)
Overrides:
getBinAt in class AbstractBinFinder

clear

public void clear()
Overrides:
clear in class AbstractBinFinder

getNumberOfBins

public int getNumberOfBins()
Specified by:
getNumberOfBins in interface BinInfo

getBinNames

public java.lang.String[] getBinNames()

getMin

public double getMin()
Specified by:
getMin in interface BinInfo

getMax

public double getMax()
Specified by:
getMax in interface BinInfo