private static class SimpleRevisionComparePresenter.MockOperator extends java.lang.Object implements BaseRevisionOperator<Rule>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
Constructor and Description |
---|
MockOperator(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Rule> |
revise(java.util.Collection<Rule> base,
Rule formula)
Revises the given collection of formulas by the given formula.
|
java.lang.String |
toString() |
public java.util.Collection<Rule> revise(java.util.Collection<Rule> base, Rule formula)
BaseRevisionOperator
revise
in interface BaseRevisionOperator<Rule>
base
- some collection of formulas.formula
- a formulapublic java.lang.String toString()
toString
in class java.lang.Object