public static class GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet extends DiscreteAlphabet.DiscreteAlphabetParameterSet
GenericComplementableDiscreteAlphabet.ParameterSet.ParameterListerrorMessage, parameters, parent| Constructor and Description |
|---|
GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet()
This constructor creates an empty parameter set the has to be filled before it can be used to create a
GenericComplementableDiscreteAlphabet. |
GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet(String[] alphabet,
boolean caseInsensitive,
int[] revComp)
The main constructor.
|
GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet(StringBuffer representation)
The standard constructor for the interface
Storable. |
getInstanceCommentclone, getInstanceNamefromXML, getInstance, getInstanceClass, toXMLfromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxypublic GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet()
GenericComplementableDiscreteAlphabet.public GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet(String[] alphabet, boolean caseInsensitive, int[] revComp) throws Exception
alphabet - the array of symbolscaseInsensitive - indicates if there will be no difference between lower case and
upper case letters/symbols in the alphabet (no case sensitivity)revComp - the array is used to provide the complementarity, revComp[i] contains the index of the complement of the i-th symbolException - if some parameter could not be set.public GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet(StringBuffer representation) throws NonParsableException
Storable.
Creates a new GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet out of its XML
representation.representation - the XML representation as StringBufferNonParsableException - if the GenericComplementableDiscreteAlphabet.GenericComplementableDiscreteAlphabetParameterSet could not be
reconstructed out of the XML representation (the
StringBuffer representation could
not be parsed)Alphabet.AlphabetParameterSet#AlphabetParameterSet(StringBuffer),
Storable