|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.logic.features.AbstractFeature
org.android.activityminer.logic.features.RangeFeature<T>
T
- the enumeration type for the dimensionspublic final class RangeFeature<T extends Enum<T> & Dimensions>
Implementation of a range feature (difference between maximum and minimum ).
Field Summary | |
---|---|
private MaximumCalculator<T> |
maxCalculator
The calculator providing the maximum. |
private MinimumCalculator<T> |
minCalculator
The calculator providing the minimum. |
Fields inherited from class org.android.activityminer.logic.features.AbstractFeature |
---|
featureType |
Constructor Summary | |
---|---|
RangeFeature(FeatureTypes featureType,
MaximumCalculator<T> maxCalculator,
MinimumCalculator<T> minCalculator)
Constructor |
Method Summary | |
---|---|
Double |
getFeatureValue()
Getter for the feature value |
MaximumCalculator<T> |
getMaxCalculator()
Getter for the maximum calculator |
MinimumCalculator<T> |
getMinCalculator()
Getter for the minimum calculator |
Methods inherited from class org.android.activityminer.logic.features.AbstractFeature |
---|
getFeatureType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MaximumCalculator<T extends Enum<T> & Dimensions> maxCalculator
private final MinimumCalculator<T extends Enum<T> & Dimensions> minCalculator
Constructor Detail |
---|
public RangeFeature(FeatureTypes featureType, MaximumCalculator<T> maxCalculator, MinimumCalculator<T> minCalculator)
featureType
- the feature typemaxCalculator
- the calculator providing the maximumminCalculator
- the calculator providing the minimumMethod Detail |
---|
public final Double getFeatureValue()
Feature
public final MaximumCalculator<T> getMaxCalculator()
public final MinimumCalculator<T> getMinCalculator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |