ConcatenateDeltaSeq

rescala.extra.incremental.IncrementalBundle.ConcatenateDeltaSeq
class ConcatenateDeltaSeq[T](left: ReactiveDeltaSeq[T], right: ReactiveDeltaSeq[T])(initialState: SeqState[T], name: ReInfo) extends Base[State, Delta[T]] with ReactiveDeltaSeq[T] with DisconnectableImpl

Attributes

S

Structure of Source

T

Type of values in Deltas

Graph
Supertypes
trait Derived
class Base[State, Delta[T]]
trait ReSource
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

final type ReIn = ReevTicket[State, Value]

Attributes

Inherited from:
Derived
final type Rout = of[State, Value]

Attributes

Inherited from:
Derived
override type State[V] = State[V]

Attributes

Inherited from:
ReactiveDeltaSeq
override type Value = Delta[T]

the value of deltas send through the set

the value of deltas send through the set

Attributes

Inherited from:
ReactiveDeltaSeq

Value members

Inherited methods

def ++(that: ReactiveDeltaSeq[T])(implicit ticket: CreationTicket): ReactiveDeltaSeq[T]

Concatenates the ReactiveDeltaSeq with another (that) ReactiveDeltaSeq by returning a new ReactiveDeltaSeq (ConcatenateDeltaSeq)

Concatenates the ReactiveDeltaSeq with another (that) ReactiveDeltaSeq by returning a new ReactiveDeltaSeq (ConcatenateDeltaSeq)

Attributes

that

the ReactiveDeltaSeq which will be concatenated with this

ticket

used for the creation of the concatenated ReactiveDeltaSeq

Returns:

ConcatenateDeltaSeq

Inherited from:
ReactiveDeltaSeq
def asEvent(implicit ticket: CreationTicket): Event[Delta[T]]

Returns current ReactiveDeltaSeq as an Event

Returns current ReactiveDeltaSeq as an Event

Attributes

ticket

a creation ticket as a new event will be created which has the ReactiveDeltaSeq as dependency

Inherited from:
ReactiveDeltaSeq
def contains(element: T)(implicit ticket: CreationTicket, ord: Ordering[T]): Signal[Boolean]

To check if an element is in the sequence

To check if an element is in the sequence

Attributes

element

element to search for

resInt

needed by REScala API for Signal/Event holding Ints

ticket

for creating the Signal holding the boolean value

Inherited from:
ReactiveDeltaSeq
def count(fulfillsCondition: T => Boolean)(implicit ticket: CreationTicket): Signal[Int]

Counts number of elements fulfilling the condition provided

Counts number of elements fulfilling the condition provided

Attributes

fulfillsCondition

the condition values of deltas have to fulfill to be taken in consideration

resInt

needed by REScala API for Signal/Event holding Ints

ticket

for creating the Signal holding the value of counted elements

Inherited from:
ReactiveDeltaSeq
final def disconnect(): Unit

Attributes

Inherited from:
DisconnectableImpl
def exists(fulfillsCondition: T => Boolean)(implicit ticket: CreationTicket): Signal[Boolean]

To check if elements fulfilling the condition exists

To check if elements fulfilling the condition exists

Attributes

fulfillsCondition

the condition values of deltas have to fulfill to be taken in consideration

resInt

needed by REScala API for Signal/Event holding Ints

ticket

for creating the Signal holding the boolean value

Inherited from:
ReactiveDeltaSeq
def filter(filterOperation: T => Boolean)(implicit ticket: CreationTicket): ReactiveDeltaSeq[T]

Filters the sequence , basing on filterExpression and returns the new filtered sequence

Filters the sequence , basing on filterExpression and returns the new filtered sequence

Attributes

filterOperation

the operation used for filtering

ticket

for creating the new source

Returns:

the filtered ReactiveDeltaSeq

Inherited from:
ReactiveDeltaSeq
def foldUndo[A](initial: A)(fold: (A, Delta[T]) => A)(unfold: (A, Delta[T]) => A)(implicit ticket: CreationTicket): Signal[A]

Based on the concept of reversible Folds Used to fold the deltas basing on fold for Addition-Delta and unfold for Removal-Delta

Based on the concept of reversible Folds Used to fold the deltas basing on fold for Addition-Delta and unfold for Removal-Delta

Attributes

A

the value returned by applying fold or unfold on the value T of Deltas

fold

the function used when an Addition occurs

initial

is the initial value the foldUndo folds to

ticket

as we will create

unfold

the function used when a Removal occurs

Inherited from:
ReactiveDeltaSeq
def map[A](mapOperation: T => A)(implicit ticket: CreationTicket): ReactiveDeltaSeq[A]

Maps the elements of ReactiveDeltaSeq and returns a new ReactiveDeltaSeq with the mapped deltas with the old ReactiveDeltaSeq as dependency

Maps the elements of ReactiveDeltaSeq and returns a new ReactiveDeltaSeq with the mapped deltas with the old ReactiveDeltaSeq as dependency

Attributes

A

new Value type for deltas in the mapped ReactiveDeltaSeq

mapOperation

the operation used for mapping the values of ReactiveDeltaSeq to MapDeltaSeq

ticket

Ticket for creating the new ReactiveDeltaSeq

Returns:

the mapped ReactiveDeltaSeq

Inherited from:
ReactiveDeltaSeq
def max(implicit ticket: CreationTicket, ord: Ordering[T]): Signal[Option[T]]

Attributes

ord

the ordering needed to compare values of deltas for finding the minimum

res

...

ticket

used for creation of new sources

Returns:

Signal holding the optional minimum (as it could be None if the seqeunce is empty)

Inherited from:
ReactiveDeltaSeq
def min(implicit ticket: CreationTicket, ord: Ordering[T]): Signal[Option[T]]

Attributes

ord

the ordering needed to compare values of deltas for finding the minimum

res

...

ticket

used for creation of new sources

Returns:

Signal holding the optional minimum (as it could be None if the seqeunce is empty)

Inherited from:
ReactiveDeltaSeq
def size(implicit ticket: CreationTicket): Signal[Int]

Returns the sizeOfSeq of the ReactiveDeltaSeq

Returns the sizeOfSeq of the ReactiveDeltaSeq

Attributes

resInt

needed by REScala API for Signal/Event holding Ints //TODO check

ticket

for creating the Signal holding the value of sizeOfSeq

Inherited from:
ReactiveDeltaSeq
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Base -> Any
Inherited from:
Base

Inherited fields

override val info: ReInfo

Attributes

Inherited from:
Base