diff --git a/src/main/kotlin/it/norangeb/algorithms/datastructures/dictionary/Dictionaries.kt b/src/main/kotlin/it/norangeb/algorithms/datastructures/dictionary/Dictionaries.kt index bc2bd0f..e36e98a 100644 --- a/src/main/kotlin/it/norangeb/algorithms/datastructures/dictionary/Dictionaries.kt +++ b/src/main/kotlin/it/norangeb/algorithms/datastructures/dictionary/Dictionaries.kt @@ -37,8 +37,8 @@ interface Dictionary { } interface OrderedDictionary, V> : Dictionary { - fun max(): K - fun min(): K - fun floor(key: K): K - fun ceiling(key: K): K + fun max(): Option + fun min(): Option + fun floor(key: K): Option + fun ceiling(key: K): Option }