Class

io.dylemma.spac.Consumer

Constant

Related Doc: package Consumer

Permalink

case class Constant[A](result: A) extends AbstractHandlerFactory[Any, A, Id, Consumer] with Consumer[Any, A] with Product with Serializable

Source
Consumer.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Consumer[Any, A], AbstractHandlerFactory[Any, A, Id, Consumer], HandlerFactory[Any, Id[A]], (Any) ⇒ HandlerFactory[Any, Id[A]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Constant
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Consumer
  7. AbstractHandlerFactory
  8. HandlerFactory
  9. Function1
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Constant(result: A)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to any2stringadd[Constant[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Constant[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to ArrowAssoc[Constant[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def andThen[A](g: (HandlerFactory[Any, Id[A]]) ⇒ A): (Any) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(v1: Any): HandlerFactory[Any, Id[A]]

    Permalink

    Always returns this, so that this can be passed to Splitter#through

    Always returns this, so that this can be passed to Splitter#through

    Definition Classes
    HandlerFactory → Function1
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compose[A](g: (A) ⇒ Any): (A) ⇒ HandlerFactory[Any, Id[A]]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. def consume[S](source: S)(implicit consume: ConsumableLike[S, Any]): A

    Permalink
    Definition Classes
    Consumer
  12. def ensuring(cond: (Constant[A]) ⇒ Boolean, msg: ⇒ Any): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Constant[A]) ⇒ Boolean): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to StringFormat[Constant[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def makeHandler(): Handler[Any, A]

    Permalink
    Definition Classes
    ConstantHandlerFactory
  22. def map[B](f: (A) ⇒ B): Consumer[Any, B]

    Permalink

    Create a new handler factory whose results are transformed by the given function f.

    Create a new handler factory whose results are transformed by the given function f.

    B

    The mapped result type

    f

    The function to apply to each result

    returns

    A new handler factory which derives its results by applying f to the results generated by this handler factory

    Definition Classes
    AbstractHandlerFactory
    See also

    syntax.FunctorSyntax.NestedFunctorOps#mapF for when Out is a container e.g. Option or List

  23. def mapResult[U](f: (Id[A]) ⇒ Id[U]): Consumer[Any, U]

    Permalink

    Create a new handler factory whose result containers are transformed by the given function f.

    Create a new handler factory whose result containers are transformed by the given function f. For Consumers, which use Id as the result container type, mapResult is equivalent to map.

    f

    The function applied to each result container

    returns

    a new HandlerFactory which derives its results by applying f to the result containers generated by this handler factory

    Definition Classes
    ConsumerAbstractHandlerFactory
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. val result: A

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    Constant → Function1 → AnyRef → Any
  30. def unwrapSafe[T](implicit ev: <:<[A, Try[T]]): Consumer[Any, T]

    Permalink
    Definition Classes
    Consumer
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def wrapSafe: Consumer[Any, Try[A]]

    Permalink
    Definition Classes
    Consumer
  35. def [B](y: B): (Constant[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to ArrowAssoc[Constant[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Consumer[Any, A]

Inherited from AbstractHandlerFactory[Any, A, Id, Consumer]

Inherited from HandlerFactory[Any, Id[A]]

Inherited from (Any) ⇒ HandlerFactory[Any, Id[A]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Constant[A] to any2stringadd[Constant[A]]

Inherited by implicit conversion StringFormat from Constant[A] to StringFormat[Constant[A]]

Inherited by implicit conversion Ensuring from Constant[A] to Ensuring[Constant[A]]

Inherited by implicit conversion ArrowAssoc from Constant[A] to ArrowAssoc[Constant[A]]

Ungrouped