case class CellTransformation[X, Y](f: (X) => Y) extends Transformation[X, Y] with Product with Serializable

A case class representing a transformation for individual cell values in a table.

CellTransformation acts as a wrapper around a function f that maps values of type X to values of type Y. It extends the Transformation trait, which itself inherits from the Function1 trait, allowing this transformation to be used like a standard Scala function.

X

the input type of the function f.

Y

the output type of the function f.

f

the function that defines the transformation logic from type X to type Y.

Linear Supertypes
Serializable, Product, Equals, Transformation[X, Y], (X) => Y, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CellTransformation
  2. Serializable
  3. Product
  4. Equals
  5. Transformation
  6. Function1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CellTransformation(f: (X) => Y)

    f

    the function that defines the transformation logic from type X to type Y.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Y) => A): (X) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(x: X): Y

    Applies the transformation function f to the given input of type X and produces a result of type Y.

    Applies the transformation function f to the given input of type X and produces a result of type Y.

    x

    the input value of type X to which the transformation function is applied.

    returns

    the resulting value of type Y after applying the transformation function f to the input.

    Definition Classes
    CellTransformation → Function1
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def compose[A](g: (A) => X): (A) => Y
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val f: (X) => Y
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Transformation[X, Y]

Inherited from (X) => Y

Inherited from AnyRef

Inherited from Any

Ungrouped