Object/Class

fs2

Segment

Related Docs: class Segment | package fs2

Permalink

object Segment

Source
Segment.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Segment
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type Defer = (⇒ Unit) ⇒ Unit

    Permalink
  2. final case class Depth(value: Int) extends AnyVal with Product with Serializable

    Permalink
  3. final class Force[+O, +R] extends AnyVal

    Permalink

    Operations on a Segment which force evaluation of some part or all of a segments elements.

  4. final case class SingleChunk[O](chunk: Chunk[O]) extends Segment[O, Unit] with Product with Serializable

    Permalink
  5. final class Step[+O, +R] extends AnyRef

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[O](os: O*): Segment[O, Unit]

    Permalink

    Creates a segment with the specified values.

  5. def array[O](os: Array[O]): Segment[O, Unit]

    Permalink

    Creates a segment backed by an array.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def catenated[O](os: Catenable[Segment[O, Unit]]): Segment[O, Unit]

    Permalink

    Creates a segment backed by 0 or more other segments.

  8. def catenated[O, R](os: Catenable[Segment[O, R]], ifEmpty: ⇒ R): Segment[O, R]

    Permalink

    Creates a segment backed by 0 or more other segments.

  9. def catenatedChunks[O](os: Catenable[Chunk[O]]): Segment[O, Unit]

    Permalink
  10. def chunk[O](c: Chunk[O]): Segment[O, Unit]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def constant[O](o: O): Segment[O, Unit]

    Permalink

    Creates an infinite segment of the specified value.

  13. implicit val defaultSegmentMonadInstance: Traverse[[α$0$]Segment[α$0$, Unit]] with Monad[[α$1$]Segment[α$1$, Unit]]

    Permalink
  14. def empty[O]: Segment[O, Unit]

    Permalink

    Creates an empty segment of type O.

  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def from(n: Long, by: Long = 1): Segment[Long, Nothing]

    Permalink

    Creates a segment which outputs values starting at n and incrementing by by between each value.

  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def indexedSeq[O](os: IndexedSeq[O]): Segment[O, Unit]

    Permalink

    Creates a segment backed by an IndexedSeq.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def pure[O, R](r: R): Segment[O, R]

    Permalink

    Creates a segment which outputs no values and returns r.

  27. def resultMonad[T]: Monad[[β$4$]Segment[T, β$4$]]

    Permalink
  28. implicit def segmentMonoidInstance[A]: Monoid[Segment[A, Unit]]

    Permalink
  29. def segmentSemigroupT[A, B]: Semigroup[Segment[A, B]]

    Permalink
  30. def seq[O](os: Seq[O]): Segment[O, Unit]

    Permalink

    Creates a segment backed by a Seq.

  31. def singleton[O](o: O): Segment[O, Unit]

    Permalink

    Creates a segment which outputs a single value o.

  32. def step[O, R](rem: ⇒ Segment[O, R])(s: ⇒ Unit): Step[O, R]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. def unfold[S, O](s: S)(f: (S) ⇒ Option[(O, S)]): Segment[O, Unit]

    Permalink

    Creates a segment by successively applying f until a None is returned, emitting each output O and using each output S as input to the next invocation of f.

  36. def unfoldChunk[S, O](s: S)(f: (S) ⇒ Option[(Chunk[O], S)]): Segment[O, Unit]

    Permalink

    Creates a segment by successively applying f until a None is returned, emitting each output chunk and using each output S as input to the next invocation of f.

  37. def vector[O](os: Vector[O]): Segment[O, Unit]

    Permalink

    Creates a segment backed by a Vector.

  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped