From: kjvdheide Date: Sat, 28 Oct 2017 20:50:03 +0000 (+0100) Subject: Added getValues and write to DistanceMatrix interface for broader use X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=b84a8ba7a9f12b179ae2a0c83bf8dfd8d1e97540;p=jalview.git Added getValues and write to DistanceMatrix interface for broader use --- diff --git a/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java b/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java index 0a332b2..05ddd02 100644 --- a/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java +++ b/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java @@ -25,6 +25,10 @@ package org.forester.evoinference.matrix.distance; +import java.io.BufferedWriter; +import java.io.IOException; +import java.io.Writer; + public interface DistanceMatrix { public String getIdentifier( int i ); @@ -46,4 +50,6 @@ public interface DistanceMatrix { } public double[][] getValues(); + + public void write( final Writer w ) throws IOException; }