Removed JDK 1.5-incompatible annotations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039507 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f101eb4c2a
commit
da07b0aed6
|
@ -493,13 +493,11 @@ public abstract class AbstractRealVector implements RealVector {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public RealVector map(UnivariateRealFunction function) {
|
public RealVector map(UnivariateRealFunction function) {
|
||||||
return copy().mapToSelf(function);
|
return copy().mapToSelf(function);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public RealVector mapToSelf(UnivariateRealFunction function) {
|
public RealVector mapToSelf(UnivariateRealFunction function) {
|
||||||
Iterator<Entry> it = (function.value(0) == 0) ? sparseIterator() : iterator();
|
Iterator<Entry> it = (function.value(0) == 0) ? sparseIterator() : iterator();
|
||||||
Entry e;
|
Entry e;
|
||||||
|
|
Loading…
Reference in New Issue