public abstract class ConditionInspector<T extends Comparable<T>> extends Object implements IsRedundant, IsOverlapping, IsSubsuming, IsConflicting, HumanReadable, HasKeys
IsConflicting.Covers<T>
Constructor and Description |
---|
ConditionInspector(Condition<T> condition,
AnalyzerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Condition<T> |
getCondition() |
UUIDKey |
getUuidKey() |
T |
getValue() |
Values<Comparable> |
getValues() |
int |
hashCode() |
boolean |
hasValue() |
boolean |
isRedundant(Object object) |
Key[] |
keys() |
abstract String |
toHumanReadableString() |
String |
toString() |
protected boolean |
valueIsEqualTo(Comparable<T> otherValue) |
protected boolean |
valueIsGreaterThan(Comparable<T> otherValue) |
protected boolean |
valueIsGreaterThanOrEqualTo(Comparable<T> otherValue) |
protected boolean |
valueIsLessThan(Comparable<T> otherValue) |
protected boolean |
valueIsLessThanOrEqualTo(Comparable<T> otherValue) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
overlaps
subsumes
conflicts
toHumanReadableString
public ConditionInspector(Condition<T> condition, AnalyzerConfiguration configuration)
public T getValue()
protected boolean valueIsGreaterThanOrEqualTo(Comparable<T> otherValue)
protected boolean valueIsLessThanOrEqualTo(Comparable<T> otherValue)
protected boolean valueIsGreaterThan(Comparable<T> otherValue)
protected boolean valueIsLessThan(Comparable<T> otherValue)
protected boolean valueIsEqualTo(Comparable<T> otherValue)
public boolean isRedundant(Object object)
isRedundant
in interface IsRedundant
public Values<Comparable> getValues()
public boolean hasValue()
public abstract String toHumanReadableString()
toHumanReadableString
in interface HumanReadable
public UUIDKey getUuidKey()
getUuidKey
in interface HasUUID
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.