scalaz.stream

process1

object process1 extends process1

Linear Supertypes
process1, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. process1
  2. process1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def awaitOption[I]: Process1[I, Option[I]]

    Await a single value, returning None if the input has been exhausted.

    Await a single value, returning None if the input has been exhausted.

    Definition Classes
    process1
  8. def buffer[I](n: Int): Process1[I, I]

    Behaves like the identity process, but requests n elements at a time from its input.

    Behaves like the identity process, but requests n elements at a time from its input.

    Definition Classes
    process1
  9. def bufferAll[I]: Process1[I, I]

    Behaves like the identity process, but batches all output into a single Emit.

    Behaves like the identity process, but batches all output into a single Emit.

    Definition Classes
    process1
  10. def bufferBy[I](f: (I) ⇒ Boolean): Process1[I, I]

    Behaves like the identity process, but requests elements from its input in blocks that end whenever the predicate switches from true to false.

    Behaves like the identity process, but requests elements from its input in blocks that end whenever the predicate switches from true to false.

    Definition Classes
    process1
  11. def chunk[I](n: Int): Process1[I, Vector[I]]

    Groups inputs into chunks of size n.

    Groups inputs into chunks of size n. The last chunk may have size less then n, depending on the number of elements in the input.

    Definition Classes
    process1
  12. def chunkAll[I]: Process1[I, Vector[I]]

    Collects up all output of this Process1 into a single Emit.

    Collects up all output of this Process1 into a single Emit.

    Definition Classes
    process1
  13. def chunkBy[I](f: (I) ⇒ Boolean): Process1[I, Vector[I]]

    Like chunk, but emits a chunk whenever the predicate switches from true to false.

    Like chunk, but emits a chunk whenever the predicate switches from true to false.

    Definition Classes
    process1
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def collect[I, I2](pf: PartialFunction[I, I2]): Process1[I, I2]

    Like collect on scala collection.

    Like collect on scala collection. Builds a new process by applying a partial function to all elements of this process on which the function is defined.

    Elements, for which the partial function is not defined are filtered out from new process

    Definition Classes
    process1
  16. def drop[I](n: Int): Process1[I, I]

    Skips the first n elements of the input, then passes through the rest.

    Skips the first n elements of the input, then passes through the rest.

    Definition Classes
    process1
  17. def dropWhile[I](f: (I) ⇒ Boolean): Process1[I, I]

    Skips elements of the input while the predicate is true, then passes through the remaining inputs.

    Skips elements of the input while the predicate is true, then passes through the remaining inputs.

    Definition Classes
    process1
  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. def feed[I, O](i: Seq[I])(p: Process1[I, O]): Process1[I, O]

    Feed a sequence of inputs to a Process1.

    Feed a sequence of inputs to a Process1.

    Definition Classes
    process1
  21. def feed1[I, O](i: I)(p: Process1[I, O]): Process1[I, O]

    Feed a single input to a Process1.

    Feed a single input to a Process1.

    Definition Classes
    process1
  22. def filter[I](f: (I) ⇒ Boolean): Process1[I, I]

    Skips any elements of the input not matching the predicate.

    Skips any elements of the input not matching the predicate.

    Definition Classes
    process1
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def find[I](f: (I) ⇒ Boolean): Process1[I, I]

    Skips any elements not satisfying predicate and when found, will emit that element and terminate

    Skips any elements not satisfying predicate and when found, will emit that element and terminate

    Definition Classes
    process1
  25. def fold[A, B](z: B)(f: (B, A) ⇒ B): Process1[A, B]

    Process1 form of List.fold.

    Process1 form of List.fold. Folds the elements of this Process using the specified associative binary operator.

    Unlike List.fold the order is always from the left side, i.e. it will always honor order of A.

    If Process of A is empty, it will just emit z and terminate

    Process(1,2,3,4) |> fold(0)(_ + _) == Process(10)

    Definition Classes
    process1
  26. def fold1[A](f: (A, A) ⇒ A): Process1[A, A]

    Process1 form of List.reduce.

    Process1 form of List.reduce.

    Reduces the elements of this Process using the specified associative binary operator.

    Process(1,2,3,4) |> reduce(_ + _) == Process(10) Process(1) |> reduce(_ + _) == Process(1) Process() |> reduce(_ + _) == Process()

    Definition Classes
    process1
  27. def fold1Map[A, B](f: (A) ⇒ B)(implicit M: Monoid[B]): Process1[A, B]

    Like fold1 only uses f to map A to B and uses Monoid M or associative operation

    Like fold1 only uses f to map A to B and uses Monoid M or associative operation

    Definition Classes
    process1
  28. def fold1Monoid[A](implicit M: Semigroup[A]): Process1[A, A]

    alias for reduceMonoid

    alias for reduceMonoid

    Definition Classes
    process1
  29. def foldMap[A, B](f: (A) ⇒ B)(implicit M: Monoid[B]): Process1[A, B]

    Like fold only uses f to map A to B and uses Monoid M or associative operation

    Like fold only uses f to map A to B and uses Monoid M or associative operation

    Definition Classes
    process1
  30. def foldMonoid[A](implicit M: Monoid[A]): Process1[A, A]

    Like fold but uses Monoid for folding operation

    Like fold but uses Monoid for folding operation

    Definition Classes
    process1
  31. def foldSemigroup[A](implicit M: Semigroup[A]): Process1[A, A]

    alias for reduceSemigroup

    alias for reduceSemigroup

    Definition Classes
    process1
  32. def forall[I](f: (I) ⇒ Boolean): Process1[I, Boolean]

    Emits a single true value if all input matches the predicate.

    Emits a single true value if all input matches the predicate. Halts with false as soon as a non-matching element is received.

    Definition Classes
    process1
  33. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  35. def id[I]: Process1[I, I]

    Repeatedly echo the input; satisfies x |> id == x and id |> x == x.

    Repeatedly echo the input; satisfies x |> id == x and id |> x == x.

    Definition Classes
    process1
  36. def init[I](head: I*): Process1[I, I]

    Emit the given values, then echo the rest of the input.

    Emit the given values, then echo the rest of the input.

    Definition Classes
    process1
  37. def intersperse[A](separator: A): Process1[A, A]

    Add separator between elements of the input.

    Add separator between elements of the input. For example, Process(1,2,3,4) |> intersperse(0) == Process(1,0,2,0,3,0,4).

    Definition Classes
    process1
  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. def last[I]: Process1[I, I]

    Skip all but the last element of the input.

    Skip all but the last element of the input.

    Definition Classes
    process1
  40. def lastOr[I](i: ⇒ I): Process1[I, I]

    Skip all but the last element of the input.

    Skip all but the last element of the input. This Process will always emit exactly one value; If the input is empty, i is emitted.

    Definition Classes
    process1
  41. def lift[I, O](f: (I) ⇒ O): Process1[I, O]

    Transform the input using the given function, f.

    Transform the input using the given function, f.

    Definition Classes
    process1
  42. def liftL[A, B, C](p: Process1[A, B]): Process1[\/[A, C], \/[B, C]]

    Transform p to operate on the left hand side of an \/, passing through any values it receives on the right.

    Transform p to operate on the left hand side of an \/, passing through any values it receives on the right. Note that this halts whenever p halts.

    Definition Classes
    process1
  43. def liftR[A, B, C](p: Process1[B, C]): Process1[\/[A, B], \/[A, C]]

    Transform p to operate on the right hand side of an \/, passing through any values it receives on the left.

    Transform p to operate on the right hand side of an \/, passing through any values it receives on the left. Note that this halts whenever p halts.

    Definition Classes
    process1
  44. def multiplex[I, I2, O](chan1: Process1[I, O], chan2: Process1[I2, O]): Process1[\/[I, I2], O]

    Split the input and send to either chan1 or chan2, halting when either branch halts.

    Split the input and send to either chan1 or chan2, halting when either branch halts.

    Definition Classes
    process1
  45. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  46. final def notify(): Unit

    Definition Classes
    AnyRef
  47. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  48. def record[I, O](p: Process1[I, O]): Process1[I, (Seq[O], Process1[I, O])]

    Record evaluation of p, emitting the current state along with the ouput of each step.

    Record evaluation of p, emitting the current state along with the ouput of each step.

    Definition Classes
    process1
  49. def reduce[A](f: (A, A) ⇒ A): Process1[A, A]

    Process1 form of List.reduce.

    Process1 form of List.reduce.

    Reduces the elements of this Process using the specified associative binary operator.

    Process(1,2,3,4) |> reduce(_ + _) == Process(10) Process(1) |> reduce(_ + _) == Process(1) Process() |> reduce(_ + _) == Process()

    Unlike List.reduce will not fail when Process is empty.

    Definition Classes
    process1
  50. def reduceMap[A, B](f: (A) ⇒ B)(implicit M: Monoid[B]): Process1[A, B]

    Like reduce only uses f to map A to B and uses Monoid M or associative operation

    Like reduce only uses f to map A to B and uses Monoid M or associative operation

    Definition Classes
    process1
  51. def reduceMonoid[A](implicit M: Semigroup[A]): Process1[A, A]

    Like reduce but uses Monoid for reduce operation

    Like reduce but uses Monoid for reduce operation

    Definition Classes
    process1
  52. def reduceSemigroup[A](implicit M: Semigroup[A]): Process1[A, A]

    Like reduce but uses Semigroup associative operation

    Like reduce but uses Semigroup associative operation

    Definition Classes
    process1
  53. def rethrow[A]: Process1[\/[Throwable, A], A]

    Throws any input exceptions and passes along successful results.

    Throws any input exceptions and passes along successful results.

    Definition Classes
    process1
  54. def scan[A, B](z: B)(f: (B, A) ⇒ B): Process1[A, B]

    Similar to List.

    Similar to List.scan. Produces a process of B containing cumulative results of applying the operator to Process of A. It will always emit z, even when the Process of A is empty

    Definition Classes
    process1
  55. def scan1[A](f: (A, A) ⇒ A): Process1[A, A]

    Similar to scan, but unlike it it won't emit the z even when there is no input of A.

    Similar to scan, but unlike it it won't emit the z even when there is no input of A.

    Process(1,2,3,4) |> scan1(_ + _) == Process(1,3,6,10) Process(1) |> scan1(_ + _) == Process(1) Process() |> scan1(_ + _) == Process()

    Definition Classes
    process1
  56. def scan1Map[A, B](f: (A) ⇒ B)(implicit M: Monoid[B]): Process1[A, B]

    Like scan1 only uses f to map A to B and uses Monoid M or associative operation

    Like scan1 only uses f to map A to B and uses Monoid M or associative operation

    Definition Classes
    process1
  57. def scan1Monoid[A](implicit M: Monoid[A]): Process1[A, A]

    Like scan1 but uses Monoid for associative operation

    Like scan1 but uses Monoid for associative operation

    Definition Classes
    process1
  58. def scanMap[A, B](f: (A) ⇒ B)(implicit M: Monoid[B]): Process1[A, B]

    Like scan only uses f to map A to B and uses Monoid M or associative operation

    Like scan only uses f to map A to B and uses Monoid M or associative operation

    Definition Classes
    process1
  59. def scanMonoid[A](implicit M: Monoid[A]): Process1[A, A]

    Like scan but uses Monoid for associative operation

    Like scan but uses Monoid for associative operation

    Definition Classes
    process1
  60. def scanSemigroup[A](implicit M: Semigroup[A]): Process1[A, A]

    Like scan1 but uses Semigroup for associative operation

    Like scan1 but uses Semigroup for associative operation

    Definition Classes
    process1
  61. def skip: Process1[Any, Nothing]

    Reads a single element of the input, emits nothing, then halts.

    Reads a single element of the input, emits nothing, then halts.

    Definition Classes
    process1
  62. def split[I](f: (I) ⇒ Boolean): Process1[I, Vector[I]]

    Break the input into chunks where the delimiter matches the predicate.

    Break the input into chunks where the delimiter matches the predicate. The delimiter does not appear in the output. Two adjacent delimiters in the input result in an empty chunk in the output.

    Definition Classes
    process1
  63. def splitOn[I](i: I)(implicit arg0: Equal[I]): Process1[I, Vector[I]]

    Break the input into chunks where the input is equal to the given delimiter.

    Break the input into chunks where the input is equal to the given delimiter. The delimiter does not appear in the output. Two adjacent delimiters in the input result in an empty chunk in the output.

    Definition Classes
    process1
  64. def stripNone[A]: Process1[Option[A], A]

    Remove any None inputs.

    Remove any None inputs.

    Definition Classes
    process1
  65. def sum[N](implicit N: Numeric[N]): Process1[N, N]

    Emit a running sum of the values seen so far.

    Emit a running sum of the values seen so far. The first value emitted will be the first number seen (not 0). The length of the output Process always matches the length of the input Process.

    Definition Classes
    process1
  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  67. def take[I](n: Int): Process1[I, I]

    Passes through n elements of the input, then halts.

    Passes through n elements of the input, then halts.

    Definition Classes
    process1
  68. def takeThrough[I](f: (I) ⇒ Boolean): Process1[I, I]

    Like takeWhile, but emits the first value which tests false.

    Like takeWhile, but emits the first value which tests false.

    Definition Classes
    process1
  69. def takeWhile[I](f: (I) ⇒ Boolean): Process1[I, I]

    Passes through elements of the input as long as the predicate is true, then halts.

    Passes through elements of the input as long as the predicate is true, then halts.

    Definition Classes
    process1
  70. def terminated[A]: Process1[A, Option[A]]

    Wraps all inputs in Some, then outputs a single None before halting.

    Wraps all inputs in Some, then outputs a single None before halting.

    Definition Classes
    process1
  71. def toString(): String

    Definition Classes
    AnyRef → Any
  72. val utf8Encode: Process1[String, Array[Byte]]

    Convert String inputs to UTF-8 encoded byte arrays.

    Convert String inputs to UTF-8 encoded byte arrays.

    Definition Classes
    process1
  73. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. def window[I](n: Int): Process1[I, Vector[I]]

    Outputs a sliding window of size n onto the input.

    Outputs a sliding window of size n onto the input.

    Definition Classes
    process1

Inherited from process1

Inherited from AnyRef

Inherited from Any

Ungrouped