public enum RangeMatchPolicy extends Enum<RangeMatchPolicy>
We specify intervals using only their limiting points. The lower end is always interpreted as being closed. The upper end may be interpreted as either open or closed according to some general rules and the match policies in here.
Ranged attributes is a concept, where two attributes are specified to form an interval. One attribute specifies the lower limiting point of the interval, where it is closed. The other attribute specifies the upper limiting point of the interval. If this limit point is exactly the same as the lower limit point, this end is closed too. Otherwise it is normally open, unless the match policy explicitly treats it as being closed.
Enum Constant and Description |
---|
CENTER_CONTAINED_IN_RIGHT_OPEN
Match if the center point of the ranged attributes is contained within the filter interval,
when treating the filter interval as right open.
|
CLOSED_INTERSECTS_WITH_CLOSED
Match if the ranged attributes intersects with the filter interval, when treating both
intervals as fully closed.
|
CONTAINED_IN_CLOSED
Match if the ranged attributes are fully contained within the filter interval, when treating
the filter interval as fully closed, but the attribute intervals as right open, unless
degenerated (single point).
|
Modifier and Type | Method and Description |
---|---|
static RangeMatchPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeMatchPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeMatchPolicy CLOSED_INTERSECTS_WITH_CLOSED
public static final RangeMatchPolicy CONTAINED_IN_CLOSED
public static final RangeMatchPolicy CENTER_CONTAINED_IN_RIGHT_OPEN
public static RangeMatchPolicy[] values()
for (RangeMatchPolicy c : RangeMatchPolicy.values()) System.out.println(c);
public static RangeMatchPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.