|
||||||||||
| 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<T>
T - the type of the AlphabetContainer.AbstractAlphabetContainerParameterSetpublic 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. |
| 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 instantiated
protected 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 Alphabets 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 otherwise
public AlphabetContainer.AbstractAlphabetContainerParameterSet<T> clone()
throws CloneNotSupportedException
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 ParameterSetParameterSet
CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||