hep.analysis.partition
Class FixedMeanDatePartition
java.lang.Object
|
+--java.util.Observable
|
+--hep.analysis.Partition
|
+--hep.analysis.partition.Abstract1DPartition
|
+--hep.analysis.partition.OneDDelegatingPartition
|
+--hep.analysis.partition.FixedPartition
|
+--hep.analysis.partition.FixedMeanPartition
|
+--hep.analysis.partition.FixedMeanDatePartition
- All Implemented Interfaces:
- OneDDataSource, OneDFillable, RangeChangeListener, java.io.Serializable, StatisticsProvider, TwoDFillable
- public class FixedMeanDatePartition
- extends FixedMeanPartition
- See Also:
- Serialized Form
Method Summary |
void |
fill(java.util.Date x,
double v)
|
void |
fill(double x,
double v)
|
int |
getAxisType()
Return the Axis type |
int |
getBinAt(java.util.Date x)
Returns the bin index corresponding to the given date value. |
int |
getBinAt(double x)
Returns the bin index corresponding to the given numerical value. |
Methods inherited from class hep.analysis.partition.OneDDelegatingPartition |
clear, fill, fill, fill, fill, fillW, fillW, fillW, fillW, getAxisLabels, getBins, getMax, getMin, getMinusErrors, getNumberOfBins, getPlusErrors, getStatistics, hasAsymmetricErrorBars, hasSimpleQuadraticErrorBars, isRebinnable, setBinInfo, setBinning, setDataSource, setFillable, setStatisticsProvider |
Methods inherited from class hep.analysis.partition.Abstract1DPartition |
clearDataChanged, clearRangeChanged, done, fillW, fillW, getBin, getBinAt, getBinAt, getError, getMinusError, getPlusError, notifyObservers, rangeChanged, setDataAndRangeChanged, setDataAndRangeChangedNow, setDataChanged, setRangeChanged |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedMeanDatePartition
public FixedMeanDatePartition(java.util.Date low,
java.util.Date high)
FixedMeanDatePartition
public FixedMeanDatePartition(java.util.Date low,
java.util.Date high,
int bins)
fill
public void fill(java.util.Date x,
double v)
- Overrides:
fill
in class Abstract1DPartition
fill
public void fill(double x,
double v)
- Overrides:
fill
in class Abstract1DPartition
getBinAt
public int getBinAt(java.util.Date x)
throws NoSuchBinException
- Description copied from class:
Abstract1DPartition
- Returns the bin index corresponding to the given date value.
Subclasses must override this method to avoid getting a
NoSuchBinException (i.e., override this method if your
subclass will support date binning).
- Overrides:
getBinAt
in class Abstract1DPartition
- Following copied from class:
hep.analysis.partition.Abstract1DPartition
- Parameters:
x
- the value to map to a bin- Returns:
- the bin index for the given parameter
x
- Throws:
NoSuchBinException
- if not overridden
getBinAt
public int getBinAt(double x)
throws NoSuchBinException
- Description copied from class:
Abstract1DPartition
- Returns the bin index corresponding to the given numerical value.
Subclasses must override this method to avoid getting a
NoSuchBinException (i.e., override this method if your
subclass will support numerical binning).
- Overrides:
getBinAt
in class Abstract1DPartition
- Following copied from class:
hep.analysis.partition.Abstract1DPartition
- Parameters:
x
- the value to map to a bin- Returns:
- the bin index for the given parameter
x
- Throws:
NoSuchBinException
- if not overridden
getAxisType
public int getAxisType()
- Description copied from class:
Abstract1DPartition
- Return the Axis type
- Overrides:
getAxisType
in class OneDDelegatingPartition