public class NewAlignmentModelParameterMap extends ParameterMap
AlignmentModelFactory
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
KEY_ALIGNMENT_LABEL
Key used to store the label of the alignment model to be created.
|
static String |
KEY_CHARACTER_STATE_COUNT
|
static String |
KEY_CHARACTER_STATE_SET_TYPE
Key used to store the return value of
getCharacterStateSetType() . |
static String |
KEY_DEFINED_TOKENS
Key used to store the return value of
getDefinedTokens() . |
static String |
KEY_END_INDEX
Key used to store the first column index after the end of the model to be created in its parent
concatenated alignment model.
|
static String |
KEY_IS_PART_MODEL
Key used to store a
Boolean value defining whether the model to be created will be part
of a concatenated alignment model. |
static String |
KEY_PREFIX
The prefix of predefined keys used in this map.
|
static String |
KEY_START_INDEX
Key used to store the first column index of the model to be created in its parent concatenated
alignment model.
|
Constructor and Description |
---|
NewAlignmentModelParameterMap() |
Modifier and Type | Method and Description |
---|---|
CharacterStateSetType |
getCharacterStateSetType()
Returns the character set type the alignment model to be created shall have.
|
List<TokenDefinition> |
getDefinedTokens()
Returns a list of defined Tokens (e.g.
|
void |
setCharacterStateSetType(CharacterStateSetType type)
Sets or replaces the character set type in this map.
|
getApplicationLogger, getApplicationLogger, getBoolean, getDouble, getFile, getFile, getFloat, getInteger, getLong, getObject, getObject, getString, getString
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
public static final String KEY_PREFIX
public static final String KEY_ALIGNMENT_LABEL
public static final String KEY_CHARACTER_STATE_SET_TYPE
getCharacterStateSetType()
.public static final String KEY_DEFINED_TOKENS
getDefinedTokens()
.public static final String KEY_CHARACTER_STATE_COUNT
Integer
or Long
value defining the maximum number of states
to be supported by the new model.public static final String KEY_IS_PART_MODEL
Boolean
value defining whether the model to be created will be part
of a concatenated alignment model.
This key is currently not in use, but is already defined for future support of concatenated alignment models.
public static final String KEY_START_INDEX
This key is currently not in use, but is already defined for future support of concatenated alignment models.
public static final String KEY_END_INDEX
This key is currently not in use, but is already defined for future support of concatenated alignment models.
public NewAlignmentModelParameterMap()
public CharacterStateSetType getCharacterStateSetType()
TokenSetType#UNKNOWN
is also returned if no value is stored for the key
#KEY_CHARACTER_SET_TYPE
in this instance.)public void setCharacterStateSetType(CharacterStateSetType type)
type
- the character set type the alignment model to be created shall havepublic List<TokenDefinition> getDefinedTokens()
After calling this method, it is guaranteed that this maps contains an list to KEY_DEFINED_TOKENS
which is returned. The returned list may be modified.
null
.)