Packages

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
  2. final case class Depth(value: Int) extends AnyVal with Product with Serializable
  3. final class Force[+O, +R] extends AnyVal

    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
  5. final class Step[+O, +R] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[O](os: O*): Segment[O, Unit]

    Creates a segment with the specified values.

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

    Creates a segment backed by an array.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def catenated[O](os: Catenable[Segment[O, Unit]]): Segment[O, Unit]

    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]

    Creates a segment backed by 0 or more other segments.

  9. def catenatedChunks[O](os: Catenable[Chunk[O]]): Segment[O, Unit]
  10. def chunk[O](c: Chunk[O]): Segment[O, Unit]
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def constant[O](o: O): Segment[O, Unit]

    Creates an infinite segment of the specified value.

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

    Creates an empty segment of type O.

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def from(n: Long, by: Long = 1): Segment[Long, Nothing]

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

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def indexedSeq[O](os: IndexedSeq[O]): Segment[O, Unit]

    Creates a segment backed by an IndexedSeq.

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def pure[O, R](r: R): Segment[O, R]

    Creates a segment which outputs no values and returns r.

  27. def resultMonad[T]: Monad[[β$4$]Segment[T, β$4$]]
  28. implicit def segmentMonoidInstance[A]: Monoid[Segment[A, Unit]]
  29. def segmentSemigroupT[A, B]: Semigroup[Segment[A, B]]
  30. def seq[O](os: Seq[O]): Segment[O, Unit]

    Creates a segment backed by a Seq.

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

    Creates a segment which outputs a single value o.

  32. def step[O, R](rem: ⇒ Segment[O, R])(s: ⇒ Unit): Step[O, R]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def unfold[S, O](s: S)(f: (S) ⇒ Option[(O, S)]): Segment[O, Unit]

    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]

    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]

    Creates a segment backed by a Vector.

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

Inherited from AnyRef

Inherited from Any

Ungrouped