public class GIntervalEmptyString extends GIntervalAbstract
GIntervalAbstract.GStatus, GIntervalAbstract.Rule
Constructor and Description |
---|
GIntervalEmptyString()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected GIntervalAbstract.Rule |
getMaxRule()
Get the rule applying to the absolute maximum.
|
protected Object |
getMaxValue()
Get the absolute maximum value of the ok maximum and warning maximum.
|
String |
getMessage()
Get the message describing the interval checks.
|
protected GIntervalAbstract.Rule |
getMinRule()
Get the rule applying to the absolute minimum.
|
protected Object |
getMinValue()
Get the absolute minimum value of the ok minimum and warning minimum.
|
boolean |
overlaps(GIntervalAbstract interval)
Check the overlapping with another interval.
|
GIntervalAbstract.GStatus |
testRange(Object object)
Check the value against the interval.
|
void |
updateMessage(GUnit currentUnit,
GIntervalFormatAbstract formatter)
Update the interval message using the unit, and format provided.
|
public boolean overlaps(GIntervalAbstract interval)
overlaps
in class GIntervalAbstract
interval
- to verify the overlapping.protected Object getMinValue()
getMinValue
in class GIntervalAbstract
protected Object getMaxValue()
getMaxValue
in class GIntervalAbstract
protected GIntervalAbstract.Rule getMaxRule()
GIntervalAbstract
getMaxRule
in class GIntervalAbstract
protected GIntervalAbstract.Rule getMinRule()
getMinRule
in class GIntervalAbstract
public GIntervalAbstract.GStatus testRange(Object object)
testRange
in class GIntervalAbstract
object
- value to check.public String getMessage()
getMessage
in class GIntervalAbstract
public void updateMessage(GUnit currentUnit, GIntervalFormatAbstract formatter)
updateMessage
in class GIntervalAbstract
currentUnit
- the unit to use to convert the interval limits.formatter
- Necessary data to format the message (normal/scientific format and fractional digits)Copyright © 2024. All rights reserved.