Scala Library
|
|
abstract
class
TraversableFactory[CC]
extends
GenericCompanion[CC]Method Summary | |
def
|
concat
[A](xss : Traversable[A]*) : CC[A]
Concatenate all the argument collections into a single collection.
|
def
|
fill
[A](n1 : Int, n2 : Int, n3 : Int, n4 : Int)(elem : => A) : CC[CC[CC[CC[A]]]]
A four-dimensional traversable that contains the results of some element computation a number of times.
|
def
|
fill
[A](n1 : Int, n2 : Int)(elem : => A) : CC[CC[A]]
A two-dimensional traversable that contains the results of some element computation a number of times.
|
def
|
fill
[A](n1 : Int, n2 : Int, n3 : Int, n4 : Int, n5 : Int)(elem : => A) : CC[CC[CC[CC[CC[A]]]]]
A five-dimensional traversable that contains the results of some element computation a number of times.
|
def
|
fill
[A](n1 : Int, n2 : Int, n3 : Int)(elem : => A) : CC[CC[CC[A]]]
A three-dimensional traversable that contains the results of some element computation a number of times.
|
def
|
fill
[A](n : Int)(elem : => A) : CC[A]
A traversable that contains the results of some element computation a number of times.
|
def
|
iterate
[A](start : A, len : Int)(f : (A) => A) : CC[A]
A traversable containing repeated applications of a function to a start value.
|
def
|
range
(start : Int, end : Int, step : Int) : CC[Int]
A traversable containing equally spaced values in some integer interval.
|
def
|
range
(start : Int, end : Int) : CC[Int]
A traversable containing a sequence of increasing integers in a range.
|
def
|
tabulate
[A](n1 : Int, n2 : Int, n3 : Int)(f : (Int, Int, Int) => A) : CC[CC[CC[A]]]
A three-dimensional traversable containing values of a given function over ranges of integer values starting from 0.
|
def
|
tabulate
[A](n1 : Int, n2 : Int, n3 : Int, n4 : Int, n5 : Int)(f : (Int, Int, Int, Int, Int) => A) : CC[CC[CC[CC[CC[A]]]]]
A five-dimensional traversable containing values of a given function over ranges of integer values starting from 0.
|
def
|
tabulate
[A](n : Int)(f : (Int) => A) : CC[A]
A traversable containing values of a given function over a range of integer values starting from 0.
|
def
|
tabulate
[A](n1 : Int, n2 : Int, n3 : Int, n4 : Int)(f : (Int, Int, Int, Int) => A) : CC[CC[CC[CC[A]]]]
A four-dimensional traversable containing values of a given function over ranges of integer values starting from 0.
|
def
|
tabulate
[A](n1 : Int, n2 : Int)(f : (Int, Int) => A) : CC[CC[A]]
A two-dimensional traversable containing values of a given function over ranges of integer values starting from 0.
|
Methods inherited from GenericCompanion | |
newBuilder (abstract), empty, apply |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
class
|
GenericCanBuildFrom
[A] extends CanBuildFrom[CC[Any], A, CC[A]] with AnyRef
|
Method Details |
def
concat[A](xss : Traversable[A]*) : CC[A]
xss -
the collections that are to be concatenatedn -
the number of elements returnedelem -
the element computationn1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionelem -
the element computationn1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionn3 -
the number of elements in the 3nd dimensionelem -
the element computationn1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionn3 -
the number of elements in the 3nd dimensionn4 -
the number of elements in the 4th dimensionelem -
the element computationn1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionn3 -
the number of elements in the 3nd dimensionn4 -
the number of elements in the 4th dimensionn5 -
the number of elements in the 5th dimensionelem -
the element computationn -
The number of elements in the traversablef -
The function computing element valuesn1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionf -
The function computing element valuesn1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionn3 -
the number of elements in the 3nd dimensionf -
The function computing element values
def
tabulate[A](n1 : Int, n2 : Int, n3 : Int, n4 : Int)(f : (Int, Int, Int, Int) => A) : CC[CC[CC[CC[A]]]]
n1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionn3 -
the number of elements in the 3nd dimensionn4 -
the number of elements in the 4th dimensionf -
The function computing element values
def
tabulate[A](n1 : Int, n2 : Int, n3 : Int, n4 : Int, n5 : Int)(f : (Int, Int, Int, Int, Int) => A) : CC[CC[CC[CC[CC[A]]]]]
n1 -
the number of elements in the 1st dimensionn2 -
the number of elements in the 2nd dimensionn3 -
the number of elements in the 3nd dimensionn4 -
the number of elements in the 4th dimensionn5 -
the number of elements in the 5th dimensionf -
The function computing element valuesfrom -
the start value of the traversableend -
the end value of the traversable (the first value NOT returned)start -
the start value of the traversableend -
the end value of the traversable (the first value NOT returned)step -
the increment value of the traversable (must be positive or negative)start -
the start value of the traversablelen -
the number of elements returned by the traversablef -
the function that's repeatedly applied
Scala Library
|
|