aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/algorithms/searching/BinarySearch.java2
-rw-r--r--src/algorithms/searching/HybridBinarySearch.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/algorithms/searching/BinarySearch.java b/src/algorithms/searching/BinarySearch.java
index c4caaea..6d39ba9 100644
--- a/src/algorithms/searching/BinarySearch.java
+++ b/src/algorithms/searching/BinarySearch.java
@@ -95,7 +95,7 @@ public class BinarySearch
* Look for both the index of the fist occurence and of the last occurence.<br>
* The returned value will be {@code (LAST << 32) | FIRST}.
*/
- FIND_FIST_AND_LAST,
+ FIND_FIRST_AND_LAST,
}
diff --git a/src/algorithms/searching/HybridBinarySearch.java b/src/algorithms/searching/HybridBinarySearch.java
index a5b5754..8bca30b 100644
--- a/src/algorithms/searching/HybridBinarySearch.java
+++ b/src/algorithms/searching/HybridBinarySearch.java
@@ -97,7 +97,7 @@ public class HybridBinarySearch
* Look for both the index of the fist occurence and of the last occurence.<br>
* The returned value will be {@code (LAST << 32) | FIRST}.
*/
- FIND_FIST_AND_LAST,
+ FIND_FIRST_AND_LAST,
}