Class

io.scalaland.chimney.dsl

PatcherOps

Related Doc: package dsl

Permalink

implicit final class PatcherOps[T] extends AnyVal

Provides patcher operations on values of any type

T

type of object to patch

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PatcherOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PatcherOps(obj: T)

    Permalink

    obj

    wrapped object to patch

Value Members

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

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. final def patchUsing[P](patch: P)(implicit patcher: Patcher[T, P]): T

    Permalink

    Performs in-place patching of wrapped object with provided value.

    Performs in-place patching of wrapped object with provided value.

    If you want to customize patching behavior, consider using using method.

    P

    type of patch object

    patch

    patch object value

    patcher

    implicit instance of io.scalaland.chimney.Patcher type class

    returns

    patched value

    See also

    io.scalaland.chimney.Patcher#derive for default implicit instance

  8. def toString(): String

    Permalink
    Definition Classes
    Any
  9. final def using[P](patch: P): PatcherUsing[T, P, Empty]

    Permalink

    Allows to customize patcher generation

    Allows to customize patcher generation

    P

    type of patch object

    patch

    patch object value

    returns

    io.scalaland.chimney.dsl.PatcherUsing

Deprecated Value Members

  1. final def patchWith[P](patch: P)(implicit patcher: Patcher[T, P]): T

    Permalink

    Performs in-place patching of wrapped object with provided value.

    Performs in-place patching of wrapped object with provided value.

    If you want to customize patching behavior, consider using using method.

    P

    type of patch object

    patch

    patch object value

    patcher

    implicit instance of io.scalaland.chimney.Patcher type class

    returns

    patched value

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) please use .patchUsing

    See also

    io.scalaland.chimney.Patcher#derive for default implicit instance

Inherited from AnyVal

Inherited from Any

Ungrouped