Companion object providing smart constructors for type-safe patches.
Use these methods to create patches instead of the private constructor.
Attributes
- Companion
- class
- Source
- Patch.scala
- Graph
-
- Supertypes
- Self type
-
Patch.type
Members list
Type members
Types
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Adds a duration to a temporal field.
Add a duration to a Duration field.
Adds a key-value pair to a map.
Adds a period to a date field.
Add a period to a Period field.
Add a period and duration to a LocalDateTime field.
Appends elements to the end of a sequence.
Append elements to the end of a List.
Append elements to the end of a Seq.
Append elements to the end of an IndexedSeq.
Append elements to the end of a LazyList.
Deletes elements from a sequence starting at the given index.
Delete elements from a List starting at the given index.
Delete elements from a Seq starting at the given index.
Delete elements from an IndexedSeq starting at the given index.
Delete elements from a LazyList starting at the given index.
Edits a string field using a sequence of insert/delete operations.
Creates an empty patch (identity element for composition).
Increments a numeric field by a delta value.
Increment a Long field by a delta value.
Increment a Double field by a delta value.
Increment a Float field by a delta value.
Increment a Short field by a delta value.
Increment a Byte field by a delta value.
Increment a BigInt field by a delta value.
Increment a BigDecimal field by a delta value.
Inserts elements at a specific index in a sequence.
Insert elements at a specific index in a List.
Insert elements at a specific index in a Seq.
Insert elements at a specific index in an IndexedSeq.
Insert elements at a specific index in a LazyList.
Modifies an element at a specific index in a sequence using a nested patch.
Modifies an element at a specific index in a sequence using a nested patch.
Attributes
- Source
- Patch.scala
Modify an element at a specific index in a List.
Modify an element at a specific index in a Seq.
Modify an element at a specific index in an IndexedSeq.
Modify an element at a specific index in a LazyList.
Modifies the value at a key in a map using a nested patch.
Removes a key from a map.
Replace a field value using a Lens.
Replace a value using an Optional.
Replace all elements using a Traversal.
Replace a variant case using a Prism.
Sets a field/element to a specific value using an optic.
Set a field value using a Lens.
Set a value using an Optional.
Set all elements using a Traversal.
Set a variant case using a Prism.
Concrete fields
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala
Attributes
- Source
- Patch.scala