T
- the type of the AlphabetContainer.AbstractAlphabetContainerParameterSet
public abstract static class AlphabetContainer.AbstractAlphabetContainerParameterSet<T extends AlphabetContainer> extends InstanceParameterSet<T>
InstanceParameterSet
for AlphabetContainer
.ParameterSet.ParameterList
errorMessage, parameters, parent
Modifier | Constructor and Description |
---|---|
protected |
AbstractAlphabetContainerParameterSet(Class<? extends T> instanceClass)
Constructs an
AlphabetContainer.AbstractAlphabetContainerParameterSet from the class that can be
instantiated using this AlphabetContainer.AbstractAlphabetContainerParameterSet . |
protected |
AbstractAlphabetContainerParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
AlphabetContainer.AbstractAlphabetContainerParameterSet<T> |
clone()
Creates a full clone (deep copy) of this
ParameterSet . |
abstract int |
getPossibleLength()
Returns the length of the
AlphabetContainer that can be instantiated using
this ParameterSet . |
abstract boolean |
isDiscrete()
Indicates if all positions use
DiscreteAlphabet.DiscreteAlphabetParameterSet , i.e. |
abstract boolean |
isSimple()
Indicates if all positions use the same
Alphabet , i.e. |
fromXML, getInstance, getInstanceClass, getInstanceComment, getInstanceName, toXML
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy
protected AbstractAlphabetContainerParameterSet(Class<? extends T> instanceClass)
AlphabetContainer.AbstractAlphabetContainerParameterSet
from the class that can be
instantiated using this AlphabetContainer.AbstractAlphabetContainerParameterSet
.instanceClass
- the class to be instantiatedprotected AbstractAlphabetContainerParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Creates a new AlphabetContainer.AbstractAlphabetContainerParameterSet
out of its XML
representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the AlphabetContainer.AbstractAlphabetContainerParameterSet
could not be
reconstructed out of the XML representation (the
StringBuffer
representation
could not be
parsed)InstanceParameterSet.InstanceParameterSet(StringBuffer)
,
Storable
public abstract int getPossibleLength()
AlphabetContainer
that can be instantiated using
this ParameterSet
.AlphabetContainer.getPossibleLength()
public abstract boolean isDiscrete()
DiscreteAlphabet.DiscreteAlphabetParameterSet
, i.e.
if all Alphabet
s of the corresponding AlphabetContainer
are discrete.true
if all positions are discrete,
false
otherwiseAlphabetContainer.isDiscrete()
public abstract boolean isSimple()
Alphabet
, i.e. if the
corresponding AlphabetContainer
is simple.true
if all positions use the same Alphabet
,
false
otherwisepublic AlphabetContainer.AbstractAlphabetContainerParameterSet<T> clone() throws CloneNotSupportedException
ParameterSet
ParameterSet
. 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 ParameterSet
ParameterSet
CloneNotSupportedException