Found

case class Found(foundIndex: Int) extends SearchResult

The result of performing a search on a sorted sequence, where the element was found.

Value parameters:
foundIndex

the index corresponding to the element searched for in the sequence

Source:
Searching.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def insertionPoint: Int

The index corresponding to the element searched for in the sequence, if it was found, or the index where the element would be inserted in the sequence, if it was not in the sequence

The index corresponding to the element searched for in the sequence, if it was found, or the index where the element would be inserted in the sequence, if it was not in the sequence

Definition Classes
Source:
Searching.scala

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Inherited from:
Product
Source:
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Returns:

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source:
Product.scala