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 class SingleChunk[O] extends Segment[O, Unit]

    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. object SingleChunk

    Permalink
  5. def apply[O](os: O*): Segment[O, Unit]

    Permalink

    Creates a segment with the specified values.

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

    Permalink

    Creates a segment backed by an array.

  7. final def asInstanceOf[T0]: T0

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

    Permalink

    Creates a segment backed by 0 or more other segments.

  9. 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.

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

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

    Permalink
  12. def clone(): AnyRef

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

    Permalink

    Creates an infinite segment of the specified value.

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

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

    Permalink

    Creates an empty segment of type O.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. 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.

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

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

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

    Permalink

    Creates a segment backed by an IndexedSeq.

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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. def pure[O, R](r: R): Segment[O, R]

    Permalink

    Creates a segment which outputs no values and returns r.

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

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

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

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

    Permalink

    Creates a segment backed by a Seq.

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

    Permalink

    Creates a segment which outputs a single value o.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. 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.

  37. 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.

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

    Permalink

    Creates a segment backed by a Vector.

  39. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped