|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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<T>
T
- the type of the AlphabetContainer.AbstractAlphabetContainerParameterSet
public abstract static class AlphabetContainer.AbstractAlphabetContainerParameterSet<T extends AlphabetContainer>
This class is the super class of any InstanceParameterSet
for AlphabetContainer
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet |
---|
ParameterSet.ParameterList |
Field Summary |
---|
Fields inherited from class de.jstacs.parameters.ParameterSet |
---|
errorMessage, parameters, parent |
Constructor Summary | |
---|---|
protected |
AlphabetContainer.AbstractAlphabetContainerParameterSet(Class<? extends T> instanceClass)
Constructs an AlphabetContainer.AbstractAlphabetContainerParameterSet from the class that can be
instantiated using this AlphabetContainer.AbstractAlphabetContainerParameterSet . |
protected |
AlphabetContainer.AbstractAlphabetContainerParameterSet(StringBuffer xml)
The standard constructor for the interface Storable . |
Method Summary | |
---|---|
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. if the
corresponding AlphabetContainer is simple. |
Methods inherited from class de.jstacs.parameters.InstanceParameterSet |
---|
fromXML, getInstance, getInstanceClass, getInstanceComment, getInstanceName, 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 |
Constructor Detail |
---|
protected AlphabetContainer.AbstractAlphabetContainerParameterSet(Class<? extends T> instanceClass)
AlphabetContainer.AbstractAlphabetContainerParameterSet
from the class that can be
instantiated using this AlphabetContainer.AbstractAlphabetContainerParameterSet
.
instanceClass
- the class to be instantiatedprotected AlphabetContainer.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
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |