diff --git a/src/java/org/apache/commons/math/random/EmpiricalDistribution.java b/src/java/org/apache/commons/math/random/EmpiricalDistribution.java
index 938a5b91c..ccec3a27b 100644
--- a/src/java/org/apache/commons/math/random/EmpiricalDistribution.java
+++ b/src/java/org/apache/commons/math/random/EmpiricalDistribution.java
@@ -43,7 +43,7 @@ import org.apache.commons.math.stat.univariate.SummaryStatistics;
* build grouped frequnecy histograms representing the input data or to
* generate random values "like" those in the input file -- i.e., the values
* generated will follow the distribution of the values in the file.
- * @version $Revision: 1.18 $ $Date: 2004/06/14 23:15:14 $
+ * @version $Revision: 1.19 $ $Date: 2004/06/14 23:34:46 $
*/
public interface EmpiricalDistribution {
@@ -54,13 +54,6 @@ public interface EmpiricalDistribution {
*/
void load(double[] dataArray);
- /**
- * Computes the empirical distribution from the input file.
- * @param filePath fully qualified name of a file in the local file system
- * @throws IOException if an IO error occurs
- */
- void load(String filePath) throws IOException;
-
/**
* Computes the empirical distribution from the input file.
* @param file the input file
@@ -101,25 +94,6 @@ public interface EmpiricalDistribution {
*/
void loadDistribution(File file) throws IOException;
- /**
- * Loads a saved distribution from a file.
- * @param filePath fully qualified file path for a file
- * containing a digested distribution
- * @throws IOException if an error occurs reading the file
- */
- void loadDistribution(String filePath) throws IOException;
-
- /**
- * Saves distribution to a file. Overwrites the file if it exists.
- * Preconditions:
- * - the distribution must be loaded before invoking this method
- * @param filePath fully qualified file path for the file to be written
- * @throws IOException if an error occurs reading the file
- * @throws IllegalStateException if the distribution has not been loaded
- */
- void saveDistribution(String filePath) throws
- IOException,IllegalStateException;
-
/**
* Saves distribution to a file. Overwrites the file if it exists.
* Preconditions:
diff --git a/src/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java b/src/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java
index 6fda10eb4..528a94025 100644
--- a/src/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java
+++ b/src/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java
@@ -53,7 +53,7 @@ import org.apache.commons.math.stat.univariate.SummaryStatistics;
* entry per line.
*
*
- * @version $Revision: 1.21 $ $Date: 2004/06/14 23:15:14 $
+ * @version $Revision: 1.22 $ $Date: 2004/06/14 23:34:46 $
*/
public class EmpiricalDistributionImpl implements Serializable, EmpiricalDistribution {
@@ -351,19 +351,10 @@ public class EmpiricalDistributionImpl implements Serializable, EmpiricalDistrib
throw new RuntimeException("No bin selected");
}
- public void loadDistribution(String filePath) throws IOException {
- throw new UnsupportedOperationException("Not Implemented yet :-(");
- }
-
public void loadDistribution(File file) throws IOException {
throw new UnsupportedOperationException("Not Implemented yet :-(");
}
- public void saveDistribution(String filePath) throws
- IOException,IllegalStateException {
- throw new UnsupportedOperationException("Not Implemented yet :-(");
- }
-
public void saveDistribution(File file) throws
IOException,IllegalStateException {
throw new UnsupportedOperationException("Not Implemented yet :-(");