commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1197464 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math: analysis/integration/ analysis/polynomials/ analysis/solvers/ geometry/euclidean/oned/ geometry/euclidean/threed/ geometry/euclidean/twod/ linear/ ode/nonstiff/
Date Fri, 04 Nov 2011 09:49:07 GMT
Author: sebb
Date: Fri Nov  4 09:49:06 2011
New Revision: 1197464

URL: http://svn.apache.org/viewvc?rev=1197464&view=rev
Log:
Missing @Override

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialsUtils.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/BaseSecantSolver.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/IntervalsSet.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/SubOrientedPoint.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/Vector1DFormat.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/PolyhedronsSet.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/SubPlane.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Vector3DFormat.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/PolygonsSet.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/SubLine.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/Vector2DFormat.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java
Fri Nov  4 09:49:06 2011
@@ -194,6 +194,7 @@ public class LegendreGaussIntegrator ext
     }
 
     /** {@inheritDoc} */
+    @Override
     protected double doIntegrate()
         throws TooManyEvaluationsException, MaxCountExceededException {
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java
Fri Nov  4 09:49:06 2011
@@ -98,6 +98,7 @@ public class RombergIntegrator extends U
     }
 
     /** {@inheritDoc} */
+    @Override
     protected double doIntegrate()
         throws TooManyEvaluationsException, MaxCountExceededException {
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java
Fri Nov  4 09:49:06 2011
@@ -97,6 +97,7 @@ public class SimpsonIntegrator extends U
     }
 
     /** {@inheritDoc} */
+    @Override
     protected double doIntegrate()
         throws TooManyEvaluationsException, MaxCountExceededException {
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java
Fri Nov  4 09:49:06 2011
@@ -138,6 +138,7 @@ public class TrapezoidIntegrator extends
     }
 
     /** {@inheritDoc} */
+    @Override
     protected double doIntegrate()
         throws TooManyEvaluationsException, MaxCountExceededException {
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialsUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialsUtils.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialsUtils.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialsUtils.java
Fri Nov  4 09:49:06 2011
@@ -273,6 +273,7 @@ public class PolynomialsUtils {
         /** Get hash code.
          * @return hash code
          */
+        @Override
         public int hashCode() {
             return (v << 16) ^ w;
         }
@@ -281,6 +282,7 @@ public class PolynomialsUtils {
          * @param key other key
          * @return true if the instance and the other key refer to the same polynomial
          */
+        @Override
         public boolean equals(final Object key) {
 
             if ((key == null) || !(key instanceof JacobiKey)) {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/BaseSecantSolver.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/BaseSecantSolver.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/BaseSecantSolver.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/BaseSecantSolver.java
Fri Nov  4 09:49:06 2011
@@ -126,6 +126,7 @@ public abstract class BaseSecantSolver
     }
 
     /** {@inheritDoc} */
+    @Override
     protected final double doSolve() {
         // Get initial solution
         double x0 = getMin();

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/IntervalsSet.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/IntervalsSet.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/IntervalsSet.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/IntervalsSet.java
Fri Nov  4 09:49:06 2011
@@ -127,11 +127,13 @@ public class IntervalsSet extends Abstra
     }
 
     /** {@inheritDoc} */
+    @Override
     public IntervalsSet buildNew(final BSPTree<Euclidean1D> tree) {
         return new IntervalsSet(tree);
     }
 
     /** {@inheritDoc} */
+    @Override
     protected void computeGeometricalProperties() {
         if (getTree(false).getCut() == null) {
             setBarycenter(Vector1D.NaN);

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/SubOrientedPoint.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/SubOrientedPoint.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/SubOrientedPoint.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/SubOrientedPoint.java
Fri Nov  4 09:49:06 2011
@@ -40,23 +40,27 @@ public class SubOrientedPoint extends Ab
     }
 
     /** {@inheritDoc} */
+    @Override
     public double getSize() {
         return 0;
     }
 
     /** {@inheritDoc} */
+    @Override
     protected AbstractSubHyperplane<Euclidean1D, Euclidean1D> buildNew(final Hyperplane<Euclidean1D>
hyperplane,
                                                                        final Region<Euclidean1D>
remainingRegion) {
         return new SubOrientedPoint(hyperplane, remainingRegion);
     }
 
     /** {@inheritDoc} */
+    @Override
     public Side side(final Hyperplane<Euclidean1D> hyperplane) {
         final double global = hyperplane.getOffset(((OrientedPoint) getHyperplane()).getLocation());
         return (global < -1.0e-10) ? Side.MINUS : ((global > 1.0e-10) ? Side.PLUS :
Side.HYPER);
     }
 
     /** {@inheritDoc} */
+    @Override
     public SplitSubHyperplane<Euclidean1D> split(final Hyperplane<Euclidean1D>
hyperplane) {
         final double global = hyperplane.getOffset(((OrientedPoint) getHyperplane()).getLocation());
         return (global < -1.0e-10) ?

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/Vector1DFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/Vector1DFormat.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/Vector1DFormat.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/oned/Vector1DFormat.java
Fri Nov  4 09:49:06 2011
@@ -100,6 +100,7 @@ public class Vector1DFormat extends Vect
     }
 
     /** {@inheritDoc} */
+    @Override
     public StringBuffer format(final Vector<Euclidean1D> vector, final StringBuffer
toAppendTo,
                                final FieldPosition pos) {
         final Vector1D p1 = (Vector1D) vector;
@@ -107,6 +108,7 @@ public class Vector1DFormat extends Vect
     }
 
     /** {@inheritDoc} */
+    @Override
     public Vector1D parse(final String source) {
         ParsePosition parsePosition = new ParsePosition(0);
         Vector1D result = parse(source, parsePosition);
@@ -119,6 +121,7 @@ public class Vector1DFormat extends Vect
     }
 
     /** {@inheritDoc} */
+    @Override
     public Vector1D parse(final String source, final ParsePosition pos) {
         final double[] coordinates = parseCoordinates(1, source, pos);
         if (coordinates == null) {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/PolyhedronsSet.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/PolyhedronsSet.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/PolyhedronsSet.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/PolyhedronsSet.java
Fri Nov  4 09:49:06 2011
@@ -105,11 +105,13 @@ public class PolyhedronsSet extends Abst
     }
 
     /** {@inheritDoc} */
+    @Override
     public PolyhedronsSet buildNew(final BSPTree<Euclidean3D> tree) {
         return new PolyhedronsSet(tree);
     }
 
     /** {@inheritDoc} */
+    @Override
     protected void computeGeometricalProperties() {
 
         // compute the contribution of all boundary facets

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/SubPlane.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/SubPlane.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/SubPlane.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/SubPlane.java
Fri Nov  4 09:49:06 2011
@@ -43,12 +43,14 @@ public class SubPlane extends AbstractSu
     }
 
     /** {@inheritDoc} */
+    @Override
     protected AbstractSubHyperplane<Euclidean3D, Euclidean2D> buildNew(final Hyperplane<Euclidean3D>
hyperplane,
                                                                        final Region<Euclidean2D>
remainingRegion) {
         return new SubPlane(hyperplane, remainingRegion);
     }
 
     /** {@inheritDoc} */
+    @Override
     public Side side(Hyperplane<Euclidean3D> hyperplane) {
 
         final Plane otherPlane = (Plane) hyperplane;
@@ -91,6 +93,7 @@ public class SubPlane extends AbstractSu
      * on the plus side of the instance and the part of the
      * instance on the minus side of the instance
      */
+    @Override
     public SplitSubHyperplane<Euclidean3D> split(Hyperplane<Euclidean3D> hyperplane)
{
 
         final Plane otherPlane = (Plane) hyperplane;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Vector3DFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Vector3DFormat.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Vector3DFormat.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/Vector3DFormat.java
Fri Nov  4 09:49:06 2011
@@ -109,6 +109,7 @@ public class Vector3DFormat extends Vect
      *            offsets of the alignment field
      * @return the value passed in as toAppendTo.
      */
+    @Override
     public StringBuffer format(final Vector<Euclidean3D> vector, final StringBuffer
toAppendTo,
                                final FieldPosition pos) {
         final Vector3D v3 = (Vector3D) vector;
@@ -122,6 +123,7 @@ public class Vector3DFormat extends Vect
      * @throws MathParseException if the beginning of the specified string
      * cannot be parsed.
      */
+    @Override
     public Vector3D parse(final String source) {
         ParsePosition parsePosition = new ParsePosition(0);
         Vector3D result = parse(source, parsePosition);
@@ -139,6 +141,7 @@ public class Vector3DFormat extends Vect
      * @param pos input/ouput parsing parameter.
      * @return the parsed {@link Vector3D} object.
      */
+    @Override
     public Vector3D parse(final String source, final ParsePosition pos) {
         final double[] coordinates = parseCoordinates(3, source, pos);
         if (coordinates == null) {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/PolygonsSet.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/PolygonsSet.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/PolygonsSet.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/PolygonsSet.java
Fri Nov  4 09:49:06 2011
@@ -120,11 +120,13 @@ public class PolygonsSet extends Abstrac
     }
 
     /** {@inheritDoc} */
+    @Override
     public PolygonsSet buildNew(final BSPTree<Euclidean2D> tree) {
         return new PolygonsSet(tree);
     }
 
     /** {@inheritDoc} */
+    @Override
     protected void computeGeometricalProperties() {
 
         final Vector2D[][] v = getVertices();

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/SubLine.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/SubLine.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/SubLine.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/SubLine.java
Fri Nov  4 09:49:06 2011
@@ -142,12 +142,14 @@ public class SubLine extends AbstractSub
     }
 
     /** {@inheritDoc} */
+    @Override
     protected AbstractSubHyperplane<Euclidean2D, Euclidean1D> buildNew(final Hyperplane<Euclidean2D>
hyperplane,
                                                                        final Region<Euclidean1D>
remainingRegion) {
         return new SubLine(hyperplane, remainingRegion);
     }
 
     /** {@inheritDoc} */
+    @Override
     public Side side(final Hyperplane<Euclidean2D> hyperplane) {
 
         final Line    thisLine  = (Line) getHyperplane();
@@ -168,6 +170,7 @@ public class SubLine extends AbstractSub
     }
 
     /** {@inheritDoc} */
+    @Override
     public SplitSubHyperplane<Euclidean2D> split(final Hyperplane<Euclidean2D>
hyperplane) {
 
         final Line    thisLine  = (Line) getHyperplane();

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/Vector2DFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/Vector2DFormat.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/Vector2DFormat.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/twod/Vector2DFormat.java
Fri Nov  4 09:49:06 2011
@@ -103,6 +103,7 @@ public class Vector2DFormat extends Vect
     }
 
     /** {@inheritDoc} */
+    @Override
     public StringBuffer format(final Vector<Euclidean2D> vector, final StringBuffer
toAppendTo,
                                final FieldPosition pos) {
         final Vector2D p2 = (Vector2D) vector;
@@ -110,6 +111,7 @@ public class Vector2DFormat extends Vect
     }
 
     /** {@inheritDoc} */
+    @Override
     public Vector2D parse(final String source) {
         ParsePosition parsePosition = new ParsePosition(0);
         Vector2D result = parse(source, parsePosition);
@@ -122,6 +124,7 @@ public class Vector2DFormat extends Vect
     }
 
     /** {@inheritDoc} */
+    @Override
     public Vector2D parse(final String source, final ParsePosition pos) {
         final double[] coordinates = parseCoordinates(2, source, pos);
         if (coordinates == null) {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java
Fri Nov  4 09:49:06 2011
@@ -409,6 +409,7 @@ public class ArrayRealVector extends Rea
     }
 
     /** {@inheritDoc} */
+    @Override
     public ArrayRealVector ebeDivide(RealVector v) {
         if (v instanceof ArrayRealVector) {
             final double[] vData = ((ArrayRealVector) v).data;
@@ -583,6 +584,7 @@ public class ArrayRealVector extends Rea
     }
 
     /** {@inheritDoc} */
+    @Override
     public RealVector projection(RealVector v) {
         return v.mapMultiply(dotProduct(v) / v.dotProduct(v));
     }
@@ -615,16 +617,19 @@ public class ArrayRealVector extends Rea
     }
 
     /** {@inheritDoc} */
+    @Override
     public double getEntry(int index) {
         return data[index];
     }
 
     /** {@inheritDoc} */
+    @Override
     public int getDimension() {
         return data.length;
     }
 
     /** {@inheritDoc} */
+    @Override
     public RealVector append(RealVector v) {
         try {
             return new ArrayRealVector(this, (ArrayRealVector) v);
@@ -644,6 +649,7 @@ public class ArrayRealVector extends Rea
     }
 
     /** {@inheritDoc} */
+    @Override
     public RealVector append(double in) {
         final double[] out = new double[data.length + 1];
         System.arraycopy(data, 0, out, 0, data.length);
@@ -652,6 +658,7 @@ public class ArrayRealVector extends Rea
     }
 
     /** {@inheritDoc} */
+    @Override
     public RealVector getSubVector(int index, int n) {
         ArrayRealVector out = new ArrayRealVector(n);
         try {
@@ -664,6 +671,7 @@ public class ArrayRealVector extends Rea
     }
 
     /** {@inheritDoc} */
+    @Override
     public void setEntry(int index, double value) {
         try {
             data[index] = value;
@@ -673,6 +681,7 @@ public class ArrayRealVector extends Rea
     }
 
     /** {@inheritDoc} */
+    @Override
     public void addToEntry(int index, double increment) {
         data[index] += increment;
     }
@@ -761,6 +770,7 @@ public class ArrayRealVector extends Rea
      * @return {@code true} if any coordinate of this vector is {@code NaN},
      * {@code false} otherwise.
      */
+    @Override
     public boolean isNaN() {
         for (double v : data) {
             if (Double.isNaN(v)) {
@@ -777,6 +787,7 @@ public class ArrayRealVector extends Rea
      * @return {@code true} if any coordinate of this vector is infinite and
      * none are {@code NaN}, {@code false} otherwise.
      */
+    @Override
     public boolean isInfinite() {
         if (isNaN()) {
             return false;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
Fri Nov  4 09:49:06 2011
@@ -273,6 +273,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public OpenMapRealVector append(RealVector v) {
         if (v instanceof OpenMapRealVector) {
             return append((OpenMapRealVector) v);
@@ -286,6 +287,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public OpenMapRealVector append(double d) {
         OpenMapRealVector res = new OpenMapRealVector(this, 1);
         res.setEntry(virtualSize, d);
@@ -334,6 +336,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public OpenMapRealVector ebeDivide(RealVector v) {
         checkVectorDimensions(v.getDimension());
         OpenMapRealVector res = new OpenMapRealVector(this);
@@ -346,6 +349,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public OpenMapRealVector ebeMultiply(RealVector v) {
         checkVectorDimensions(v.getDimension());
         OpenMapRealVector res = new OpenMapRealVector(this);
@@ -358,6 +362,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public OpenMapRealVector getSubVector(int index, int n) {
         checkIndex(index);
         checkIndex(index + n - 1);
@@ -375,6 +380,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public int getDimension() {
         return virtualSize;
     }
@@ -421,6 +427,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public double getEntry(int index) {
         checkIndex(index);
         return entries.get(index);
@@ -507,6 +514,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public boolean isInfinite() {
         boolean infiniteFound = false;
         Iterator iter = entries.iterator();
@@ -524,6 +532,7 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public boolean isNaN() {
         Iterator iter = entries.iterator();
         while (iter.hasNext()) {
@@ -551,12 +560,14 @@ public class OpenMapRealVector extends S
     }
 
     /** {@inheritDoc} */
+    @Override
     public RealVector projection(RealVector v) {
         checkVectorDimensions(v.getDimension());
         return v.mapMultiply(dotProduct(v) / v.dotProduct(v));
     }
 
     /** {@inheritDoc} */
+    @Override
     public void setEntry(int index, double value) {
         checkIndex(index);
         if (!isDefaultValue(value)) {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
Fri Nov  4 09:49:06 2011
@@ -339,6 +339,7 @@ public abstract class AdaptiveStepsizeIn
   }
 
   /** {@inheritDoc} */
+  @Override
   public abstract void integrate (ExpandableStatefulODE equations, double t)
     throws MathIllegalStateException, MathIllegalArgumentException;
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java?rev=1197464&r1=1197463&r2=1197464&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java
Fri Nov  4 09:49:06 2011
@@ -90,6 +90,7 @@ public abstract class RungeKuttaIntegrat
   }
 
   /** {@inheritDoc} */
+  @Override
   public void integrate(final ExpandableStatefulODE equations, final double t)
       throws MathIllegalStateException, MathIllegalArgumentException {
 



Mime
View raw message