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

@ -1,6 +1,6 @@
package com.thealgorithms.searches;
public final class sortOrderAgnosticBinarySearch {
private sortOrderAgnosticBinarySearch() {
public final class SortOrderAgnosticBinarySearch {
private SortOrderAgnosticBinarySearch() {
}
public static int find(int[] arr, int key) {
int start = 0;