Modifier and Type | Field and Description |
---|---|
private static Defeat |
instance
Singleton instance.
|
Modifier | Constructor and Description |
---|---|
private |
Defeat()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
static Defeat |
getInstance()
Returns the singleton instance of this class.
|
boolean |
isAttackedBy(DeductiveArgument a,
DeductiveArgument b)
Returns "true" iff the first argument is attacked by the second argument.
|
private static Defeat instance
public static Defeat getInstance()
public boolean isAttackedBy(DeductiveArgument a, DeductiveArgument b)
Attack
isAttackedBy
in interface Attack
a
- some argumentb
- some argumenta
is attacked by b
.