@Test public void parametrizedOverlapTest() { BooleanConditionInspector a = getCondition(value1, operator1); BooleanConditionInspector b = getCondition(value2, operator2); assertEquals(getAssertDescription(a, b, !conflictExpected, "overlap"), !conflictExpected, a.overlaps(b)); assertEquals(getAssertDescription(b, a, !conflictExpected, "overlap"), !conflictExpected, b.overlaps(a)); }
@Override public boolean overlaps(final Object other) { return isRedundant(other); }
BooleanConditionInspector extends ComparableConditionInspector { @Override public boolean overlaps(final Object other) { return isRedundant(other); } }
BooleanConditionInspector extends ComparableConditionInspector { @Override public boolean overlaps(final Object other) { return isRedundant(other); } BooleanConditionInspector(final FieldCondition<Boolean> fieldCondition,
                                     final AnalyzerConfiguration configuration); }
BooleanConditionInspector extends ComparableConditionInspector { @Override public boolean overlaps(final Object other) { return isRedundant(other); } BooleanConditionInspector(final FieldCondition<Boolean> fieldCondition,
                                     final AnalyzerConfiguration configuration); @Override boolean isRedundant(final Object other); @Override boolean conflicts(final Object other); @Override boolean overlaps(final Object other); @Override boolean subsumes(final Object other); @Override String toHumanReadableString(); }
BooleanConditionInspector extends ComparableConditionInspector { @Override public boolean overlaps(final Object other) { return isRedundant(other); } BooleanConditionInspector(final FieldCondition<Boolean> fieldCondition,
                                     final AnalyzerConfiguration configuration); @Override boolean isRedundant(final Object other); @Override boolean conflicts(final Object other); @Override boolean overlaps(final Object other); @Override boolean subsumes(final Object other); @Override String toHumanReadableString();  }