Found

scala.collection.Searching$.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

Attributes

Source
Searching.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class SearchResult
class Object
trait Matchable
class Any
Show all

Members list

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

Attributes

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.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala