Packages

case class InsertionPoint(insertionPoint: Int) extends SearchResult with Product with Serializable

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

insertionPoint

the index where the element would be inserted in the sequence

Source
Searching.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InsertionPoint
  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. Protected

Instance Constructors

  1. new InsertionPoint(insertionPoint: Int)

    insertionPoint

    the index where the element would be inserted in the sequence

Value Members

  1. val 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
    InsertionPointSearchResult
  2. 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