object These extends Serializable
- Alphabetic
- By Inheritance
- These
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
TheseAssociative[A, B](implicit arg0: Associative[A], arg1: Associative[B]): Associative[These[A, B]]
Derives an
Associative[These[A, B]]given anAssociative[A]and anAssociative[B]. -
implicit
def
TheseAssociativeEither[A](implicit arg0: Associative[A]): AssociativeEither[[+b]These[A, b]]
The
AssociativeEitherinstance forThese. -
implicit
def
TheseCommutative[A, B](implicit arg0: Commutative[A], arg1: Commutative[B]): Commutative[These[A, B]]
Derives a
Commutative[These[A, B]]given aCommutative[A]and aCommutative[B]. -
implicit
def
TheseCommutativeBoth[A](implicit arg0: Commutative[A]): CommutativeBoth[[+b]These[A, b]]
The
CommutativeBothinstance forThese. -
implicit
def
TheseCovariant[A]: Covariant[[+b]These[A, b]]
The
Covariantinstance forThese. -
implicit
def
TheseDebug[A, B](implicit arg0: Debug[A], arg1: Debug[B]): Debug[These[A, B]]
Derives a
Debug[These[A, B]]given aDebug[A]and aDebug[B]. -
implicit
def
TheseDeriveEqual[A](implicit arg0: Equal[A]): DeriveEqual[[+b]These[A, b]]
The
DeriveEqualinstance forThese. -
implicit
def
TheseEqual[A, B](implicit arg0: Equal[A], arg1: Equal[B]): Equal[These[A, B]]
Derives an
Equal[These[A, B]]given anEqual[A]and anEqual[B]. -
implicit
def
TheseForEach[A]: ForEach[[+b]These[A, b]]
The
ForEachinstance forThese. -
implicit
def
TheseHash[A, B](implicit arg0: Hash[A], arg1: Hash[B]): Hash[These[A, B]]
Derives a
Hash[These[A, B]]given aHash[A]and aHash[B]. -
implicit
def
TheseIdentityBoth[A](implicit arg0: Associative[A]): IdentityBoth[[+b]These[A, b]]
The
IdentityBothinstance forThese. -
implicit
def
TheseIdentityFlatten[A](implicit arg0: Associative[A]): IdentityFlatten[[+b]These[A, b]]
The
IdentityFlatteninstance forThese. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
both[A, B](a: A, b: B): These[A, B]
Constructs a
Bothwith anAvalue and aBvalue. -
def
bothNonEmptyChunk[A, B](a: A, b: B): These[NonEmptyChunk[A], B]
Constructs a
Bothwith anAvalue and aBvalue, wrapping theAvalue in aNonEmptyChunk.Constructs a
Bothwith anAvalue and aBvalue, wrapping theAvalue in aNonEmptyChunk. This is useful when usingTheseto model computations that may both succeed and fail to use theAssociativeinstance forNonEmptyChunkto accumulate all errors. -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromEither[A, B](eab: Either[A, B]): These[A, B]
Constructs a
Thesefrom anEithervalue. -
def
fromOption[A](ob: Option[A]): These[Unit, A]
Constructs a
Thesefrom anOptionvalue. -
def
fromOptions[A, B](opA: Option[A], opB: Option[B]): Option[These[A, B]]
Constructor from two options to an option of These.
-
def
fromValidation[E, A](validation: Validation[E, A]): These[NonEmptyChunk[E], A]
Constructs a
Thesefrom aValidationvalue. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
left[A](a: A): These[A, Nothing]
Constructs a
Leftwith anAvalue. -
def
leftNonEmptyChunk[A](a: A): These[NonEmptyChunk[A], Nothing]
Constructs a
Leftwith anAvalue, wrapping theAvalue in aNonEmptyChunk.Constructs a
Leftwith anAvalue, wrapping theAvalue in aNonEmptyChunk. This is useful when usingTheseto model computations that may both succeed and fail to use theAssociativeinstance forNonEmptyChunkto accumulate multiple errors. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
right[A](a: A): These[Nothing, A]
Constructs a
Rightwith anAvalue. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
unit: These[Nothing, Unit]
A
Rightwith theUnitvalue. -
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )