Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (28 sloc) 1.174 kb
517acfd Fixing an incomplete svnmerge; second, merge ag...
Antonio Cunei authored
1 /* __ *\
2 ** ________ ___ / / ___ Scala API **
3 ** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
4 ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
5 ** /____/\___/_/ |_/____/_/ | | **
6 ** |/ **
7 \* */
8
9 package scala.collection
10
11
12 import generic._
13
14
15 /** A trait for all iterable collections which may possibly
16 * have their operations implemented in parallel.
17 *
18 * @author Martin Odersky
19 * @author Aleksandar Prokopec
20 * @since 2.9
21 */
22 trait GenIterable[+A]
23 extends GenIterableLike[A, GenIterable[A]]
24 with GenTraversable[A]
25 with GenericTraversableTemplate[A, GenIterable]
26 {
27 def seq: Iterable[A]
28 override def companion: GenericCompanion[GenIterable] = GenIterable
29 }
30
31
15d4776 Merged revisions 24803-24820 via svnmerge from
Antonio Cunei authored
32 object GenIterable extends GenTraversableFactory[GenIterable] {
517acfd Fixing an incomplete svnmerge; second, merge ag...
Antonio Cunei authored
33 implicit def canBuildFrom[A] = new GenericCanBuildFrom[A]
34 def newBuilder[A] = Iterable.newBuilder
35 }
36
Something went wrong with that request. Please try again.