private String[] identifiers;
- public ForesterMatrix(MatrixI jalviewInputMatrix,
- Sequence[] matrixSequences)
+ public ForesterMatrix(final MatrixI jalviewInputMatrix,
+ final Sequence[] matrixSequences)
{
this.jalviewMatrix = jalviewInputMatrix;
this.sequences = matrixSequences;
}
- public ForesterMatrix(MatrixI jalviewInputMatrix,
- String[] matrixIdentifiers)
+ public ForesterMatrix(final MatrixI jalviewInputMatrix,
+ final String[] matrixIdentifiers)
{
this.jalviewMatrix = jalviewInputMatrix;
this.identifiers = matrixIdentifiers;
}
@Override
- public String getIdentifier(int i)
+ public String getIdentifier(final int i)
{
return identifiers[i];
}
@Override
- public int getIndex(String identifier)
+ public int getIndex(final String identifier)
{
return Arrays.asList(identifiers).indexOf(identifier);
}
* in the parameters is inverted here (as that is how forester demands it)
*/
@Override
- public double getValue(int col, int row)
+ public double getValue(final int col, final int row)
{
return jalviewMatrix.getValue(row, col);
}
@Override
- public void setIdentifier(int i, String identifier)
+ public void setIdentifier(final int i, final String identifier)
{
identifiers[i] = identifier;
* parameters is inverted here (as that is how forester demands it)
*/
@Override
- public void setValue(int col, int row, double distance)
+ public void setValue(final int col, final int row, final double distance)
{
jalviewMatrix.setValue(row, col, distance);
}
@Override
- public void write(Writer w) throws IOException // directly copied from
+ public void write(final Writer w) throws IOException // directly copied from
// forester
{
w.write(" ");