public class ComparableConditionInspector<T extends Comparable<T>> extends ConditionInspector<T> implements IsConflicting.Covers<T>
IsConflicting.Covers<T>
Modifier and Type | Field and Description |
---|---|
protected Field |
field |
protected Operator |
operator |
Constructor and Description |
---|
ComparableConditionInspector(FieldCondition condition,
AnalyzerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
conflicts(Object other) |
boolean |
covers(Comparable<T> otherValue) |
Field |
getField() |
Operator |
getOperator() |
boolean |
overlaps(Object other) |
boolean |
subsumes(Object other) |
String |
toHumanReadableString() |
equals, getCondition, getUuidKey, getValue, getValues, hashCode, hasValue, isRedundant, keys, toString, valueIsEqualTo, valueIsGreaterThan, valueIsGreaterThanOrEqualTo, valueIsLessThan, valueIsLessThanOrEqualTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toHumanReadableString
public ComparableConditionInspector(FieldCondition condition, AnalyzerConfiguration configuration)
public Field getField()
public Operator getOperator()
public boolean conflicts(Object other)
conflicts
in interface IsConflicting
public boolean overlaps(Object other)
overlaps
in interface IsOverlapping
public boolean subsumes(Object other)
subsumes
in interface IsSubsuming
public boolean covers(Comparable<T> otherValue)
covers
in interface IsConflicting.Covers<T extends Comparable<T>>
public String toHumanReadableString()
toHumanReadableString
in interface HumanReadable
toHumanReadableString
in class ConditionInspector<T extends Comparable<T>>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.