commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r777895 - /commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/
Date Sat, 23 May 2009 11:48:42 GMT
Author: sebb
Date: Sat May 23 11:48:41 2009
New Revision: 777895

URL: http://svn.apache.org/viewvc?rev=777895&view=rev
Log:
Move Serializable from interface to implementations

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java?rev=777895&r1=777894&r2=777895&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java
Sat May 23 11:48:41 2009
@@ -198,7 +198,9 @@
     }
 
     /** Specialized solver. */
-    private static class Solver implements DecompositionSolver {
+    private static class Solver implements DecompositionSolver, Serializable {
+        // TODO: Add Serializable documentation
+        // TODO: Check Serializable implementation
 
         /** Serializable version identifier. */
         private static final long serialVersionUID = -7288829864732555901L;

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java?rev=777895&r1=777894&r2=777895&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java
Sat May 23 11:48:41 2009
@@ -17,8 +17,6 @@
 
 package org.apache.commons.math.linear.decomposition;
 
-import java.io.Serializable;
-
 import org.apache.commons.math.linear.InvalidMatrixException;
 import org.apache.commons.math.linear.RealMatrix;
 import org.apache.commons.math.linear.RealVector;
@@ -38,7 +36,7 @@
  * @version $Revision$ $Date$
  * @since 2.0
  */
-public interface DecompositionSolver extends Serializable {
+public interface DecompositionSolver {
 
     /** Solve the linear equation A × X = B for matrices A.
      * <p>The A matrix is implicit, it is provided by the underlying

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java?rev=777895&r1=777894&r2=777895&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java
Sat May 23 11:48:41 2009
@@ -17,6 +17,7 @@
 
 package org.apache.commons.math.linear.decomposition;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
@@ -365,7 +366,9 @@
     }
 
     /** Specialized solver. */
-    private static class Solver implements DecompositionSolver {
+    private static class Solver implements DecompositionSolver, Serializable {
+        // TODO: Add Serializable documentation
+        // TODO: Check Serializable implementation
 
         /** Serializable version identifier. */
         private static final long serialVersionUID = -8965845906036558410L;

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java?rev=777895&r1=777894&r2=777895&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java
Sat May 23 11:48:41 2009
@@ -17,6 +17,8 @@
 
 package org.apache.commons.math.linear.decomposition;
 
+import java.io.Serializable;
+
 import org.apache.commons.math.MathRuntimeException;
 import org.apache.commons.math.linear.InvalidMatrixException;
 import org.apache.commons.math.linear.MatrixUtils;
@@ -236,7 +238,9 @@
     }
 
     /** Specialized solver. */
-    private static class Solver implements DecompositionSolver {
+    private static class Solver implements DecompositionSolver, Serializable {
+        // TODO: Add Serializable documentation
+        // TODO: Check Serializable implementation
 
         /** Serializable version identifier. */
         private static final long serialVersionUID = -6353105415121373022L;

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java?rev=777895&r1=777894&r2=777895&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java
Sat May 23 11:48:41 2009
@@ -17,6 +17,7 @@
 
 package org.apache.commons.math.linear.decomposition;
 
+import java.io.Serializable;
 import java.util.Arrays;
 
 import org.apache.commons.math.MathRuntimeException;
@@ -256,7 +257,9 @@
     }
 
     /** Specialized solver. */
-    private static class Solver implements DecompositionSolver {
+    private static class Solver implements DecompositionSolver, Serializable {
+        // TODO: Add Serializable documentation
+        // TODO: Check Serializable implementation
 
         /** Serializable version identifier. */
         private static final long serialVersionUID = -6353105415121373022L;

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java?rev=777895&r1=777894&r2=777895&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java
Sat May 23 11:48:41 2009
@@ -17,6 +17,8 @@
 
 package org.apache.commons.math.linear.decomposition;
 
+import java.io.Serializable;
+
 import org.apache.commons.math.ConvergenceException;
 import org.apache.commons.math.MathRuntimeException;
 import org.apache.commons.math.linear.InvalidMatrixException;
@@ -297,7 +299,9 @@
     }
 
     /** Specialized solver. */
-    private static class Solver implements DecompositionSolver {
+    private static class Solver implements DecompositionSolver, Serializable {
+        // TODO: Add Serializable documentation
+        // TODO: Check Serializable implementation
 
         /** Serializable version identifier. */
         private static final long serialVersionUID = -1959408026708904378L;



Mime
View raw message