DataTypeCondition
public final class DataTypeCondition<T extends Number, D extends DataType<@NonNull T, @NonNull DataPoint<@NonNull T>>>
A condition which is considered met when a data type value passes a defined threshold.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
boolean |
|
final @NonNull ComparisonType |
The comparison type to use when comparing the threshold against the current value. |
final @NonNull D |
|
final @NonNull T |
The threshold at which point this condition should be met. |
int |
hashCode() |
@NonNull String |
toString() |
Public constructors
Public methods
getComparisonType
Added in 1.0.0
public final @NonNull ComparisonType getComparisonType()
The comparison type to use when comparing the threshold against the current value.
getDataType
Added in 1.0.0
public final @NonNull D getDataType()
DataType which this condition applies to.
getThreshold
Added in 1.0.0
public final @NonNull T getThreshold()
The threshold at which point this condition should be met.