trait
Iterable
[
+A
]
extends
CanIterate
with
FromIterator
Base trait for generic collections
Constructors
Members
def
(
c:
Iterable
[
A
]
)
: [A] =>
(c: strawman.collections.CollectionStrawMan1.Iterable[A])
strawman.collections.CollectionStrawMan1.IterableOps[A] (not handled)
def
foldLeft
(
z:
B
)
(
op:
(B, A) => B
)
: [B] =>
(z: B)(op: (B, strawman.collections.CollectionStrawMan1.IterableOps#A) => B)B (not handled)
def
foldRight
(
z:
B
)
(
op:
(A, B) => B
)
: [B] =>
(z: B)(op: (strawman.collections.CollectionStrawMan1.IterableOps#A, B) => B)B (not handled)
def
foreach
(
f:
A => Unit
)
: Unit
def
head
: A
def
indexWhere
(
p:
A => Boolean
)
: Int
def
isEmpty
: Boolean
def
iterator
: Iterator
[
A
]
def
to
(
fi:
FromIterator
[
C
]
)
: [C <: [X] => strawman.collections.CollectionStrawMan1.Iterable[X]] =>
(fi: strawman.collections.CollectionStrawMan1.FromIterator[C])
C[strawman.collections.CollectionStrawMan1.IterableOps#A] (not handled)
def
view
: View
[
A
]