public class Rebut extends java.lang.Object implements AttackStrategy
Modifier and Type | Field and Description |
---|---|
private static Rebut |
instance
Singleton instance.
|
Modifier | Constructor and Description |
---|---|
private |
Rebut()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
attacks(Argument a,
Argument b)
Returns "true" iff the first argument attacks the second argument.
|
static Rebut |
getInstance()
Returns the singleton instance of this class.
|
java.lang.String |
toAbbreviation()
Returns the abbreviated identifier of this notion of attack, i.e.
|
java.lang.String |
toString() |
private static Rebut instance
public static Rebut getInstance()
public boolean attacks(Argument a, Argument b)
AttackStrategy
attacks
in interface AttackStrategy
a
- some argumentb
- some argumenta
attacks b
.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toAbbreviation()
AttackStrategy
toAbbreviation
in interface AttackStrategy