Packages

case class Found(foundIndex: Int) extends SearchResult with Product with Serializable

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

foundIndex

the index corresponding to the element searched for in the sequence

Source
Searching.scala
Linear Supertypes
java.io.Serializable, Product, Equals, SearchResult, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Found
  2. Serializable
  3. Product
  4. Equals
  5. SearchResult
  6. AnyRef
  7. Any
Implicitly
  1. by search
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Found(foundIndex: Int)

    foundIndex

    the index corresponding to the element searched for in the sequence

Value Members

  1. val foundIndex: Int
  2. 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
    FoundSearchResult
  3. def productElementNames: scala.Iterator[String]

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

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

    Definition Classes
    Product