mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-24 04:54:21 +08:00
Refactor Code Style (#4151)
This commit is contained in:
@ -12,5 +12,5 @@ public interface MatrixSearchAlgorithm {
|
||||
* @param <T> Comparable type
|
||||
* @return array containing the first found coordinates of the element
|
||||
*/
|
||||
<T extends Comparable<T>> int[] find(T matrix[][], T key);
|
||||
<T extends Comparable<T>> int[] find(T[][] matrix, T key);
|
||||
}
|
||||
|
@ -12,5 +12,5 @@ public interface SearchAlgorithm {
|
||||
* @param <T> Comparable type
|
||||
* @return first found index of the element
|
||||
*/
|
||||
<T extends Comparable<T>> int find(T array[], T key);
|
||||
<T extends Comparable<T>> int find(T[] array, T key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user