aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-21 17:02:13 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-21 17:02:13 +0100
commit9d2e2676bc5eae9bb6b77ae906e22b7a45e95a0a (patch)
tree83f53d5ee093cea100df973fbb5bf3d6f3fdc85c
parentpartial array support in multibinary search (diff)
downloadalgorithms-and-data-structures-9d2e2676bc5eae9bb6b77ae906e22b7a45e95a0a.tar.gz
algorithms-and-data-structures-9d2e2676bc5eae9bb6b77ae906e22b7a45e95a0a.tar.bz2
algorithms-and-data-structures-9d2e2676bc5eae9bb6b77ae906e22b7a45e95a0a.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-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,
}