public interface CharacterStateMatrix<S>
| Modifier and Type | Interface and Description |
|---|---|
static class |
CharacterStateMatrix.BinaryStates
It is crucial that the order
ABSENT, UNKNOWN, PRESENT not be changes since
this determines the sort order.
|
static class |
CharacterStateMatrix.Format |
static class |
CharacterStateMatrix.GainLossStates |
static class |
CharacterStateMatrix.NucleotideStates |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCharacter(String character) |
boolean |
containsIdentifier(String identifier) |
CharacterStateMatrix<S> |
copy() |
String |
getCharacter(int character_index) |
int |
getCharacterIndex(String character) |
String |
getIdentifier(int identifier_index) |
int |
getIdentifierIndex(String identifier) |
int |
getNumberOfCharacters() |
int |
getNumberOfIdentifiers() |
S |
getState(int identifier_index,
int character_index) |
S |
getState(String identifier,
int character_index) |
S |
getState(String identifier,
String character) |
boolean |
isEmpty() |
CharacterStateMatrix<S> |
pivot() |
void |
setCharacter(int character_index,
String character) |
void |
setIdentifier(int identifier_index,
String identifier) |
void |
setState(int identifier_index,
int character_index,
S state) |
void |
setState(String identifier,
int character_index,
S state) |
void |
setState(String identifier,
String character,
S state) |
void |
toWriter(Writer writer) |
void |
toWriter(Writer writer,
CharacterStateMatrix.Format format) |
boolean containsCharacter(String character)
boolean containsIdentifier(String identifier)
CharacterStateMatrix<S> copy()
String getCharacter(int character_index)
int getCharacterIndex(String character)
String getIdentifier(int identifier_index)
int getIdentifierIndex(String identifier)
int getNumberOfCharacters()
int getNumberOfIdentifiers()
S getState(int identifier_index, int character_index)
boolean isEmpty()
CharacterStateMatrix<S> pivot()
void setCharacter(int character_index,
String character)
void setIdentifier(int identifier_index,
String identifier)
void setState(int identifier_index,
int character_index,
S state)
void toWriter(Writer writer) throws IOException
IOExceptionvoid toWriter(Writer writer, CharacterStateMatrix.Format format) throws IOException
IOExceptionCopyright © 2016. All rights reserved.