|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Combiner.Type>
uk.ac.starlink.ttools.plot2.layer.Combiner.Type
public static enum Combiner.Type
Defines the scaling properties of a combiner. This also provides information on how the results of the populated bin list should be interpreted.
Enum Constant Summary | |
---|---|
DENSITY
Density-like aggregation. |
|
EXTENSIVE
Sum-like aggregation. |
|
INTENSIVE
Average-like aggregation. |
Method Summary | |
---|---|
double |
getBinFactor(double binExtent)
Returns a scaling factor which ought to be applied to bin values. |
boolean |
isExtensive()
Indicates whether the bin values scale to first order with the number of submitted values per bin. |
static Combiner.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Combiner.Type[] |
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 |
---|
public static final Combiner.Type EXTENSIVE
public static final Combiner.Type INTENSIVE
public static final Combiner.Type DENSITY
EXTENSIVE
,
but results should be divided by bin size;
the getBinFactor
method in general will
return a value that is not unity.
Method Detail |
---|
public static Combiner.Type[] values()
for (Combiner.Type c : Combiner.Type.values()) System.out.println(c);
public static Combiner.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isExtensive()
public double getBinFactor(double binExtent)
binExtent
- bin size in some natural units
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |