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, waitoverlapssubsumesconflictstoHumanReadableStringpublic 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 IsRedundantpublic Values<Comparable> getValues()
public boolean hasValue()
public abstract String toHumanReadableString()
toHumanReadableString in interface HumanReadablepublic UUIDKey getUuidKey()
getUuidKey in interface HasUUIDCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.