public class Defeat extends java.lang.Object implements AttackStrategy
Modifier and Type | Field and Description |
---|---|
private static Defeat |
instance
Singleton instance.
|
private Rebut |
rebut |
private Undercut |
undercut |
Modifier | Constructor and Description |
---|---|
private |
Defeat()
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 Defeat |
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 Defeat instance
private Rebut rebut
private Undercut undercut
public static Defeat 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