scala.collection.immutable

trait Iterable

[source: scala/collection/immutable/Iterable.scala]

trait Iterable[+A]
extends Traversable[A] with Iterable[A] with TraversableClass[A, Iterable] with IterableTemplate[A, Iterable[A]]
A subtrait of collection.Iterable which represents iterables that cannot be mutated.
Author
Matthias Zenger
Martin Odersky
Version
2.8
Direct Known Subclasses:
Map, Sequence, Set

Method Summary
override def companion : Companion[Iterable]
The factory companion object that builds instances of class CC
Methods inherited from IterableTemplate
iterator (abstract), elements, foreach, isEmpty, foldRight, reduceRight, toIterable, head, takeRight, dropRight, sameElements, toStream, view, view, first, firstOption, toSeq, projection
Methods inherited from TraversableClass
newBuilder, genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableTemplate
thisCollection, nonEmpty, size, hasDefiniteSize, ++, ++, map, flatMap, filter, filterMap, filterNot, remove, partition, groupBy, forall, exists, count, find, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, headOption, tail, last, lastOption, init, take, drop, slice, takeWhile, dropWhile, span, splitAt, copyToBuffer, copyToArray, copyToArray, toArray, toList, toSequence, toSet, mkString, mkString, mkString, addString, addString, addString, toString, stringPrefix
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def companion : Companion[Iterable]
The factory companion object that builds instances of class CC
Overrides
Traversable.companion, Iterable.companion, TraversableClass.companion