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.

Attributes

foundIndex

the index corresponding to the element searched for in the sequence

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

Members list

Concise view

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