mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-24 04:54:21 +08:00
style: enable AvoidStarImport
in checkstyle (#5141)
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class Conway {
|
||||
|
||||
|
@ -15,7 +15,10 @@ package com.thealgorithms.others;
|
||||
* https://rosettacode.org/wiki/Dijkstra%27s_algorithm#Java Also most of the
|
||||
* comments are from RosettaCode.
|
||||
*/
|
||||
import java.util.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.NavigableSet;
|
||||
import java.util.TreeSet;
|
||||
|
||||
public class Dijkstra {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Scanner;
|
||||
|
||||
public class InsertDeleteInArray {
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.BasicStroke;
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.Color;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Scanner;
|
||||
|
||||
class PageRank {
|
||||
|
||||
|
@ -4,7 +4,7 @@ package com.thealgorithms.others;
|
||||
* 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.*;
|
||||
import java.util.Scanner;
|
||||
|
||||
class Rotate_by_90_degree {
|
||||
|
||||
|
@ -1,7 +1,13 @@
|
||||
package com.thealgorithms.others;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Scanner;
|
||||
|
||||
/* display the most frequent K words in the file and the times it appear
|
||||
in the file – shown in order (ignore case and periods) */
|
||||
|
Reference in New Issue
Block a user