|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet<T>
de.jstacs.data.AlphabetContainer.AbstractAlphabetContainerParameterSet<DNAAlphabetContainer>
de.jstacs.data.alphabets.DNAAlphabetContainer.DNAAlphabetContainerParameterSet
public static final class DNAAlphabetContainer.DNAAlphabetContainerParameterSet
This class implements a singleton for the ParameterSet of a DNAAlphabetContainer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet |
|---|
ParameterSet.ParameterList |
| Nested classes/interfaces inherited from interface de.jstacs.Singleton |
|---|
Singleton.SingletonHandler |
| Field Summary | |
|---|---|
static DNAAlphabetContainer.DNAAlphabetContainerParameterSet |
SINGLETON
The only instance of this class. |
| Fields inherited from class de.jstacs.parameters.ParameterSet |
|---|
errorMessage, parameters, parent |
| Method Summary | |
|---|---|
DNAAlphabetContainer.DNAAlphabetContainerParameterSet |
clone()
Creates a full clone (deep copy) of this ParameterSet. |
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be constructed using this ParameterSet. |
String |
getInstanceName()
Returns the name of an instance of the class that can be constructed using this ParameterSet. |
int |
getPossibleLength()
Returns the length of the AlphabetContainer that can be instantiated using
this ParameterSet. |
boolean |
isDiscrete()
Indicates if all positions use DiscreteAlphabet.DiscreteAlphabetParameterSet, i.e. |
boolean |
isSimple()
Indicates if all positions use the same Alphabet, i.e. |
| Methods inherited from class de.jstacs.parameters.InstanceParameterSet |
|---|
fromXML, getInstance, getInstanceClass, toXML |
| Methods inherited from class de.jstacs.parameters.ParameterSet |
|---|
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DNAAlphabetContainer.DNAAlphabetContainerParameterSet SINGLETON
Singleton| Method Detail |
|---|
public DNAAlphabetContainer.DNAAlphabetContainerParameterSet clone()
ParameterSetParameterSet. As a
convenience-method the user can use
fillWithStandardFieldsForClone(ParameterSet) on a newly
created instance of a subclass of ParameterSet to obtain a
clone/copy of all standard member variables (those already defined in
ParameterSet) in the passed ParameterSet. Using this
method, the cloning process becomes merely three-step:ParameterSet, most
likely with an empty constructor or the one taking just the instance
class.
this.fillWithStandardFieldsForClone on this
instance.
Object's method
Object.clone().
clone in class AlphabetContainer.AbstractAlphabetContainerParameterSet<DNAAlphabetContainer>ParameterSetpublic String getInstanceComment()
InstanceParameterSetParameterSet.
getInstanceComment in class InstanceParameterSet<DNAAlphabetContainer>public String getInstanceName()
InstanceParameterSetParameterSet.
getInstanceName in class InstanceParameterSet<DNAAlphabetContainer>public int getPossibleLength()
AlphabetContainer.AbstractAlphabetContainerParameterSetAlphabetContainer that can be instantiated using
this ParameterSet.
getPossibleLength in class AlphabetContainer.AbstractAlphabetContainerParameterSet<DNAAlphabetContainer>AlphabetContainer.getPossibleLength()public boolean isDiscrete()
AlphabetContainer.AbstractAlphabetContainerParameterSetDiscreteAlphabet.DiscreteAlphabetParameterSet, i.e.
if all Alphabets of the corresponding AlphabetContainer
are discrete.
isDiscrete in class AlphabetContainer.AbstractAlphabetContainerParameterSet<DNAAlphabetContainer>true if all positions are discrete,
false otherwiseAlphabetContainer.isDiscrete()public boolean isSimple()
AlphabetContainer.AbstractAlphabetContainerParameterSetAlphabet, i.e. if the
corresponding AlphabetContainer is simple.
isSimple in class AlphabetContainer.AbstractAlphabetContainerParameterSet<DNAAlphabetContainer>true if all positions use the same Alphabet,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||