object Either
Stage projections for Scala's standard scala.util.Either type.
Each projection extracts one side of an Either and either passes the value downstream (h8io.stages.Yield.Some)
or produces no output (h8io.stages.Yield.None) when the Either holds the other side. In both cases the status is
h8io.stages.Status.Success, so the pipeline continues.
Example:
val leftStage = Either.Left[String] // Stage[scala.util.Either[String, Any], String, Nothing] val rightStage = Either.Right[Int] // Stage[scala.util.Either[Any, Int], Int, Nothing]
- Alphabetic
- By Inheritance
- Either
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
-
object
Left extends LeftProjection[scala.Either]
Extracts the left value of an
Either[A, B], producing no output forRightvalues.Extracts the left value of an
Either[A, B], producing no output forRightvalues.Use
Either.Left[T]to get a typedProjection[scala.util.Either[T, Any], T]. -
object
Right extends RightProjection[scala.Either]
Extracts the right value of an
Either[A, B], producing no output forLeftvalues.Extracts the right value of an
Either[A, B], producing no output forLeftvalues.Use
Either.Right[T]to get a typedProjection[scala.util.Either[Any, T], T].
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated