public class PSStrategy extends java.lang.Object implements PS
| Constructor and Description |
|---|
PSStrategy(java.util.List<Element> contexts,
AlgorithmFamily algorithmFamily)
Instantiates a new PS strategy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Equals.
|
AlgorithmFamily |
getAlgorithmFamily()
Gets the algorithm family.
|
java.util.List<Element> |
getContexts()
Gets the contexts.
|
java.util.List<Element> |
getParticipants()
Gets the participants.
|
DesignPattern |
getPSOf()
Gets the PS of.
|
int |
hashCode()
Hash code.
|
boolean |
isPSOf(DesignPattern designPattern)
Checks if is PS of.
|
public PSStrategy(java.util.List<Element> contexts, AlgorithmFamily algorithmFamily)
contexts - the contextsalgorithmFamily - the algorithm familypublic DesignPattern getPSOf()
public boolean isPSOf(DesignPattern designPattern)
public java.util.List<Element> getParticipants()
getParticipants in interface PSpublic java.util.List<Element> getContexts()
public AlgorithmFamily getAlgorithmFamily()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the obj