Skip to content

Commit a4bde13

Browse files
committed
deprecated Permutation.Mechanic nested class
1 parent 66bf501 commit a4bde13

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/org/cicirello/permutations/Permutation.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,10 +959,15 @@ public int hashCode() {
959959
* a public method of Subclass can similarly, temporarily, create a non-functioning Permutation. However,
960960
* that public method is expected to ensure that the Permutation is fully valid before returning.</p>
961961
*
962+
* @deprecated This class will be removed in the next major release, 4.0.0, and you should instead
963+
* use the functionality provided by the {@link Permutation#apply(PermutationUnaryOperator)} and
964+
* {@link Permutation#apply(PermutationBinaryOperator,Permutation)} methods, and the related
965+
* {@link PermutationUnaryOperator} and {@link PermutationBinaryOperator} interfaces.
966+
*
962967
* @author <a href=https://www.cicirello.org/ target=_top>Vincent A. Cicirello</a>,
963968
* <a href=https://www.cicirello.org/ target=_top>https://www.cicirello.org/</a>
964969
*/
965-
public static class Mechanic {
970+
@Deprecated public static class Mechanic {
966971

967972
/**
968973
* The default constructor can only be called by subclasses.

0 commit comments

Comments
 (0)