Removal

rescala.extra.incremental.Removal
case class Removal[T](v: T) extends Delta[T]

Attributes

T

type of the value the Delta holds

v

the value that is removed

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Delta[T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def filter(accept: T => Boolean): Delta[T]

Filters the value of the Delta. If accepted by the filter function the Delta is returned, otherwise NoChange is returned

Filters the value of the Delta. If accepted by the filter function the Delta is returned, otherwise NoChange is returned

Attributes

accept

is the function used to filter.

Returns:

the Delta or NoChange if not accepted

Inherited from:
Delta
def map[A](mapOperation: T => A): Delta[A]

Maps the value of the Delta. This will happen for an Addition or Removal only

Maps the value of the Delta. This will happen for an Addition or Removal only

Attributes

A

the type of the mapped value

mapOperation

maps the value of Delta by returning a new one with type A

Inherited from:
Delta

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def value: T

Attributes

Returns:

the value the Delta is holding

Inherited from:
Delta