Then

zio.prelude.ParSeq.Then
final case class Then[+Z <: Unit, +A](left: ParSeq[Z, A], right: ParSeq[Z, A]) extends ParSeq[Z, A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParSeq[Z, A]
class Object
trait Matchable
class Any
Show all
Self type
Then[Z, A]

Members list

Value members

Concrete methods

override def equals(that: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters

that

the object to compare against this object for equality.

Attributes

Returns

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Equals -> Any
override def hashCode: Int

Calculates a hash code value for the object.

Calculates a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Definition Classes
Any

Inherited methods

final def &&[Z1 >: Z <: Unit, A1 >: A](that: ParSeq[Z1, A1]): ParSeq[Z1, A1]

Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events in parallel with that collection of events.

Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events in parallel with that collection of events.

Attributes

Inherited from:
ParSeq
final def *>[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, B]

A symbolic alias for zipRight.

A symbolic alias for zipRight.

Attributes

Inherited from:
ParSeq
final def ++[Z1 >: Z <: Unit, A1 >: A](that: ParSeq[Z1, A1]): ParSeq[Z1, A1]

Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events followed by that collection of events.

Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events followed by that collection of events.

Attributes

Inherited from:
ParSeq
final def <*[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, A]

A symbolic alias for zipLeft.

A symbolic alias for zipLeft.

Attributes

Inherited from:
ParSeq
final def <*>[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, (A, B)]

A symbolic alias for zip.

A symbolic alias for zip.

Attributes

Inherited from:
ParSeq
final def as[B](b: B): ParSeq[Z, B]

Maps the events in this collection of events to the specified constant value.

Maps the events in this collection of events to the specified constant value.

Attributes

Inherited from:
ParSeq
final def first(implicit ev: Z <:< Nothing): A

Returns the first event in this collection of events. If multiple events occur in parallel and before any other events then any of these events may be returned.

Returns the first event in this collection of events. If multiple events occur in parallel and before any other events then any of these events may be returned.

Attributes

Inherited from:
ParSeq
final def flatMap[Z1 >: Z <: Unit, B](f: A => ParSeq[Z1, B]): ParSeq[Z1, B]

Constructs a new collection of events for each event in this collection of events, collecting them back into a single collection of events.

Constructs a new collection of events for each event in this collection of events, collecting them back into a single collection of events.

Attributes

Inherited from:
ParSeq
final def flatten[Z1 >: Z <: Unit, B](implicit ev: A <:< ParSeq[Z1, B]): ParSeq[Z1, B]

Flattens a collection of collections of events into a single collection of events.

Flattens a collection of collections of events into a single collection of events.

Attributes

Inherited from:
ParSeq
final def fold[B](emptyCase: B, singleCase: A => B)(thenCase: (B, B) => B, bothCase: (B, B) => B): B

Folds over the events in this collection of events using the specified functions.

Folds over the events in this collection of events using the specified functions.

Attributes

Inherited from:
ParSeq
final def forEach[F[_] : Covariant, B](f: A => F[B]): F[ParSeq[Z, B]]

Performs the specified effectual function for each event in this collection of events, collecting them back into a single collection of events.

Performs the specified effectual function for each event in this collection of events, collecting them back into a single collection of events.

Attributes

Inherited from:
ParSeq
final def map[B](f: A => B): ParSeq[Z, B]

Transforms the type of events in this collection of events with the specified function.

Transforms the type of events in this collection of events with the specified function.

Attributes

Inherited from:
ParSeq

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toCause: Cause[A]

Attributes

Inherited from:
ParSeq
final def toNonEmptyMultiSet(implicit ev: Z <:< Nothing): NonEmptyMultiSet[A]

Converts this collection of events to a NonEmptyMultiSet of events, discarding information about the sequential structure of events.

Converts this collection of events to a NonEmptyMultiSet of events, discarding information about the sequential structure of events.

Attributes

Inherited from:
ParSeq
final def zip[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, (A, B)]

Combines this collection of events with that collection of events to return the Cartesian product of events, combining the elements into a tuple.

Combines this collection of events with that collection of events to return the Cartesian product of events, combining the elements into a tuple.

Attributes

Inherited from:
ParSeq
final def zipLeft[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, A]

Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from this collection.

Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from this collection.

Attributes

Inherited from:
ParSeq
final def zipRight[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, B]

Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from that collection.

Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from that collection.

Attributes

Inherited from:
ParSeq
final def zipWith[Z1 >: Z <: Unit, B, C](that: ParSeq[Z1, B])(f: (A, B) => C): ParSeq[Z1, C]

Combines this collection of events with that collection of events to return the Cartesian product of events using the specified function.

Combines this collection of events with that collection of events to return the Cartesian product of events using the specified function.

Attributes

Inherited from:
ParSeq