mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-24 04:54:21 +08:00
style: enable InvalidJavadocPosition
in checkstyle (#5237)
enable style InvalidJavadocPosition Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com>
This commit is contained in:

committed by
GitHub

parent
39e065437c
commit
74e51990c1
@ -1,5 +1,7 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
/**
|
||||
* This file contains an implementation of BANKER'S ALGORITM Wikipedia:
|
||||
* https://en.wikipedia.org/wiki/Banker%27s_algorithm
|
||||
@ -18,8 +20,6 @@ package com.thealgorithms.others;
|
||||
*
|
||||
* @author AMRITESH ANAND (https://github.com/amritesh19)
|
||||
*/
|
||||
import java.util.Scanner;
|
||||
|
||||
public final class BankersAlgorithm {
|
||||
private BankersAlgorithm() {
|
||||
}
|
||||
|
@ -1,5 +1,9 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.NavigableSet;
|
||||
import java.util.TreeSet;
|
||||
/**
|
||||
* Dijkstra's algorithm,is a graph search algorithm that solves the
|
||||
* single-source shortest path problem for a graph with nonnegative edge path
|
||||
@ -15,11 +19,6 @@ package com.thealgorithms.others;
|
||||
* https://rosettacode.org/wiki/Dijkstra%27s_algorithm#Java Also most of the
|
||||
* comments are from RosettaCode.
|
||||
*/
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.NavigableSet;
|
||||
import java.util.TreeSet;
|
||||
|
||||
public final class Dijkstra {
|
||||
private Dijkstra() {
|
||||
}
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.ArrayList;
|
||||
/**
|
||||
* @author Alexandros Lemonaris
|
||||
*/
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public abstract class MemoryManagementAlgorithms {
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
/**
|
||||
* @author Prateek Kumar Oraon (https://github.com/prateekKrOraon)
|
||||
*
|
||||
An implementation of Rabin-Karp string matching algorithm
|
||||
Program will simply end if there is no match
|
||||
*/
|
||||
import java.util.Scanner;
|
||||
|
||||
// An implementation of Rabin-Karp string matching algorithm
|
||||
// Program will simply end if there is no match
|
||||
public final class RabinKarp {
|
||||
private RabinKarp() {
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.Scanner;
|
||||
/**
|
||||
* Given a matrix of size n x n We have to rotate this matrix by 90 Degree Here
|
||||
* is the algorithm for this problem .
|
||||
*/
|
||||
import java.util.Scanner;
|
||||
|
||||
final class RotateMatrixBy90Degrees {
|
||||
private RotateMatrixBy90Degrees() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user