public class AlgorithmFamily extends java.lang.Object implements java.lang.Comparable<AlgorithmFamily>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METHOD
The Constant METHOD.
|
static java.lang.String |
PREFIX
The Constant PREFIX.
|
static java.lang.String |
SUFFIX
The Constant SUFFIX.
|
Constructor and Description |
---|
AlgorithmFamily(java.lang.String name,
java.lang.String type)
Instantiates a new algorithm family.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AlgorithmFamily o)
Compare to.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getNameCapitalized()
Gets the name capitalized.
|
java.util.List<Element> |
getParticipants()
Gets the participants.
|
java.lang.String |
getType()
Gets the type.
|
int |
hashCode()
Hash code.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setType(java.lang.String type)
Sets the type.
|
java.lang.String |
toString()
To string.
|
public static final java.lang.String SUFFIX
public static final java.lang.String PREFIX
public static final java.lang.String METHOD
public AlgorithmFamily(java.lang.String name, java.lang.String type)
name
- the nametype
- the typepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the new namepublic java.lang.String getNameCapitalized()
public java.util.List<Element> getParticipants()
public java.lang.String getType()
public void setType(java.lang.String type)
type
- the new typepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic int compareTo(AlgorithmFamily o)
compareTo
in interface java.lang.Comparable<AlgorithmFamily>
o
- the opublic java.lang.String toString()
toString
in class java.lang.Object