com.redhat.et.silex.feature.indexfunction

InverseIndexFunction

abstract class InverseIndexFunction[V] extends PartialFunction[V, Int] with Serializable

The inverse of an InvertibleIndexFunction.

V

The domain type of this function. Also the range of the parent InvertibleIndexFunction.

Linear Supertypes
Serializable, Serializable, PartialFunction[V, Int], (V) ⇒ Int, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InverseIndexFunction
  2. Serializable
  3. Serializable
  4. PartialFunction
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InverseIndexFunction()

Abstract Value Members

  1. abstract def apply(v1: V): Int

    Definition Classes
    Function1
  2. abstract def domain: Iterator[V]

    Obtain a new iterator over the domain of this function.

    Obtain a new iterator over the domain of this function.

    returns

    An iterator over the domain values of this function. Equivalent to the range of the parent InvertibleIndexFunction.

  3. abstract def isDefinedAt(x: V): Boolean

    Definition Classes
    PartialFunction
  4. abstract def width: Int

    The width of index range.

    The width of index range. Corresponds to the width of the parent InvertibleIndexFunction.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def andThen[C](k: (Int) ⇒ C): PartialFunction[V, C]

    Definition Classes
    PartialFunction → Function1
  7. def applyOrElse[A1 <: V, B1 >: Int](x: A1, default: (A1) ⇒ B1): B1

    Definition Classes
    PartialFunction
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compose[A](g: (A) ⇒ V): (A) ⇒ Int

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def lift: (V) ⇒ Option[Int]

    Definition Classes
    PartialFunction
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def orElse[A1 <: V, B1 >: Int](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  22. final def range: Iterator[Int]

    Obtain a new iterator over the range values of this function.

    Obtain a new iterator over the range values of this function.

    returns

    An iterator over the range values of this function. Equivalent to the domain of the parent InvertibleIndexFunction.

  23. def runWith[U](action: (Int) ⇒ U): (V) ⇒ Boolean

    Definition Classes
    PartialFunction
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. final def toMap: Map[V, Int]

    Obtain a Scala Map that is equivalent to this function.

    Obtain a Scala Map that is equivalent to this function.

    returns

    A Map that maps domain values into their corresponding index values

  26. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from PartialFunction[V, Int]

Inherited from (V) ⇒ Int

Inherited from AnyRef

Inherited from Any

Ungrouped