From 787d42ef07e6dc8d7aa47a9156d851281a7f2954 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Tue, 1 Jun 2021 13:42:25 +0200 Subject: [PATCH] MATH-1595: Interface is not used anymore. --- .../legacy/random/RandomVectorGenerator.java | 32 ------------------- .../math4/legacy/random/package-info.java | 3 +- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomVectorGenerator.java diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomVectorGenerator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomVectorGenerator.java deleted file mode 100644 index 62a875cda..000000000 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomVectorGenerator.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.commons.math4.legacy.random; - - -/** This interface represents a random generator for whole vectors. - * - * @since 1.2 - */ -public interface RandomVectorGenerator { - - /** Generate a random vector. - * @return a random vector as an array of double. - */ - double[] nextVector(); - -} diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java index 4d802c029..7885a2efd 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java @@ -26,8 +26,7 @@ * source of randomness that provides sequences of uniformly distributed integers. *

*

- * Others are sources of pseudo-randomness that directly produce "compound" types - * such as {@link org.apache.commons.math4.legacy.random.RandomVectorGenerator random vectors}. + * Others are sources of pseudo-randomness that directly produce "compound" types. *

*/ package org.apache.commons.math4.legacy.random;