Minor changes

This commit is contained in:
nik 2018-04-09 21:14:40 +03:00
parent d4bd9e7c7d
commit 9491b45a05
4 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import static sort.SortUtils.print;
* @see SortAlgorithm
*
*/
public class BinaryTreeSort implements SortAlgorithm{
public class BinaryTreeSort implements SortAlgorithm {
interface TreeVisitor<T extends Comparable<T>> {
void visit(Node<T> node);

View File

@ -12,7 +12,7 @@ import static sort.SortUtils.*;
* @see SortAlgorithm
*
*/
public class BogoSort implements SortAlgorithm{
public class BogoSort implements SortAlgorithm {
private static final Random random = new Random();

View File

@ -10,7 +10,7 @@ import static sort.SortUtils.*;
* @see SortAlgorithm
*/
class BubbleSort implements SortAlgorithm{
class BubbleSort implements SortAlgorithm {
/**
* This method implements the Generic Bubble Sort
*

View File

@ -1,3 +1,5 @@
package sort;
import java.util.Scanner;
/**