Class Max
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.spreadsheet.matrixstatistic.AbstractMatrixStatistic
-
- adams.data.spreadsheet.matrixstatistic.Max
-
- All Implemented Interfaces:
Destroyable,ErrorProvider,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,SizeOfHandler,Serializable
public class Max extends AbstractMatrixStatistic
Determines the largest numeric value in the matrix, skips NaN and infinity values.
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-row <adams.core.Range> (property: rows) The rows of the subset to retrieve. default: first-last example: A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(...)' inverts the range '...'; the following placeholders can be used as well: first, second, third, last_2, last_1, last-col <adams.data.spreadsheet.SpreadSheetColumnRange> (property: columns) The columns of the subset to retrieve; A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(.. .)' inverts the range '...'; column names (case-sensitive) as well as the following placeholders can be used: first, second, third, last_2, last_1, last; numeric indices can be enforced by preceding them with '#' (eg '#12' ); column names can be surrounded by double quotes. default: first-last example: A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(...)' inverts the range '...'; column names (case-sensitive) as well as the following placeholders can be used: first, second, third, last_2, last_1, last; numeric indices can be enforced by preceding them with '#' (eg '#12'); column names can be surrounded by double quotes.- Version:
- $Revision: 9765 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.spreadsheet.matrixstatistic.AbstractMatrixStatistic
m_Columns, m_LastError, m_Rows
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Max()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SpreadSheetdoGenerate(SpreadSheet sheet)Finishes up the stats generation after all the cells have been visited.StringglobalInfo()Returns a string describing the object.-
Methods inherited from class adams.data.spreadsheet.matrixstatistic.AbstractMatrixStatistic
check, columnsTipText, createOutputHeader, defineOptions, generate, getColumns, getLastError, getNumericValues, getRows, hasLastError, rowsTipText, setColumns, setRows
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
doGenerate
protected SpreadSheet doGenerate(SpreadSheet sheet)
Finishes up the stats generation after all the cells have been visited.- Specified by:
doGeneratein classAbstractMatrixStatistic- Parameters:
sheet- the spreadsheet to generate the stats for- Returns:
- the generated stats
-
-