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