it.geosolutions.jaiext.stats
Enum Statistics.StatsType

java.lang.Object
  extended by java.lang.Enum<Statistics.StatsType>
      extended by it.geosolutions.jaiext.stats.Statistics.StatsType
All Implemented Interfaces:
Serializable, Comparable<Statistics.StatsType>
Enclosing class:
Statistics

public static enum Statistics.StatsType
extends Enum<Statistics.StatsType>

This enum is used for organizing the various kinds of statistics and giving them an identifier used by the StatsFactory create methods.


Enum Constant Summary
DEV_STD
           
EXTREMA
           
HISTOGRAM
           
MAX
           
MEAN
           
MEDIAN
           
MIN
           
MODE
           
SUM
           
VARIANCE
           
 
Method Summary
 int getStatsId()
           
static Statistics.StatsType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Statistics.StatsType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MEAN

public static final Statistics.StatsType MEAN

SUM

public static final Statistics.StatsType SUM

MAX

public static final Statistics.StatsType MAX

MIN

public static final Statistics.StatsType MIN

EXTREMA

public static final Statistics.StatsType EXTREMA

VARIANCE

public static final Statistics.StatsType VARIANCE

DEV_STD

public static final Statistics.StatsType DEV_STD

HISTOGRAM

public static final Statistics.StatsType HISTOGRAM

MODE

public static final Statistics.StatsType MODE

MEDIAN

public static final Statistics.StatsType MEDIAN
Method Detail

values

public static Statistics.StatsType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Statistics.StatsType c : Statistics.StatsType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Statistics.StatsType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getStatsId

public int getStatsId()


Copyright © 2006–2014 GeoSolutions. All rights reserved.