SearchResult
scala.collection.Searching$.SearchResult
The result of performing a search on a sorted sequence
Example usage:
val list = List(1, 3, 4, 5) // list must be sorted before searching
list.search(4) // Found(2)
list.search(2) // InsertionPoint(1)
Attributes
- Source
- Searching.scala
- Graph
-
- Supertypes
- Known subtypes
-
class Foundclass InsertionPoint
Members list
In this article