object Segment
- Source
- Segment.scala
- Alphabetic
- By Inheritance
- Segment
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[O](os: O*): Segment[O, Unit]
Creates a segment with the specified values.
-
def
array[O](os: Array[O]): Segment[O, Unit]
Creates a segment backed by an array.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
catenated[O](os: Catenable[Segment[O, Unit]]): Segment[O, Unit]
Creates a segment backed by 0 or more other segments.
-
def
catenated[O, R](os: Catenable[Segment[O, R]], ifEmpty: ⇒ R): Segment[O, R]
Creates a segment backed by 0 or more other segments.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
constant[O](o: O): Segment[O, Unit]
Creates an infinite segment of the specified value.
-
def
empty[O]: Segment[O, Unit]
Creates an empty segment of type
O
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
from(n: Long, by: Long = 1): Segment[Long, Nothing]
Creates a segment which outputs values starting at
n
and incrementing byby
between each value. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
indexedSeq[O](os: IndexedSeq[O]): Segment[O, Unit]
Creates a segment backed by an
IndexedSeq
. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
pure[O, R](r: R): Segment[O, R]
Creates a segment which outputs no values a returns
r
. -
def
seq[O](os: Seq[O]): Segment[O, Unit]
Creates a segment backed by a
Seq
. -
def
singleton[O](o: O): Segment[O, Unit]
Creates a segment which outputs a single value
o
. - def step[O, R](rem: ⇒ Segment[O, R])(s: ⇒ Unit): Step[O, R]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unfold[S, O](s: S)(f: (S) ⇒ Option[(O, S)]): Segment[O, Unit]
Creates a segment by successively applying
f
until aNone
is returned, emitting each outputO
and using each outputS
as input to the next invocation off
. -
def
vector[O](os: Vector[O]): Segment[O, Unit]
Creates a segment backed by a
Vector
. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )