style: enable TypeName (#5214)

* style: enable `TypeName` in checkstyle

* style: enable `TypeName` in checkstyle

* Update directory

* style: use proper formatting

---------

Co-authored-by: StarDxxx <StarDxxx@users.noreply.github.com>
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
This commit is contained in:
StarDxxx
2024-06-08 19:37:20 +08:00
committed by GitHub
parent be38886d43
commit a81fb32e6c
19 changed files with 61 additions and 59 deletions

View File

@@ -9,8 +9,8 @@ import java.util.Comparator;
import java.util.List;
import java.util.PriorityQueue;
public final class A_Star {
private A_Star() {
public final class AStar {
private AStar() {
}
private static class Graph {

View File

@@ -4,7 +4,7 @@ for better understanding
*/
package com.thealgorithms.datastructures.graphs;
class dijkstras {
class Dijkstras {
int k = 9;
@@ -67,7 +67,7 @@ class dijkstras {
{8, 11, 0, 0, 0, 0, 1, 0, 7},
{0, 0, 2, 0, 0, 0, 6, 7, 0},
};
dijkstras t = new dijkstras();
Dijkstras t = new Dijkstras();
t.dijkstra(graph, 0);
} // main
} // djikstras