Modifier and Type | Field and Description |
---|---|
private static DirectDefeat |
instance
Singleton instance.
|
Modifier | Constructor and Description |
---|---|
private |
DirectDefeat()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
static DirectDefeat |
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 DirectDefeat instance
public static DirectDefeat getInstance()
public boolean isAttackedBy(DeductiveArgument a, DeductiveArgument b)
Attack
isAttackedBy
in interface Attack
a
- some argumentb
- some argumenta
is attacked by b
.