A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/collection/SortedIterableFactory.html below:

SortedIterableFactory

scala.collection.SortedIterableFactory

See theSortedIterableFactory companion object

Base trait for companion objects of collections that require an implicit Ordering.

Type parameters
CC

Collection type constructor (e.g. SortedSet)

Attributes
Companion
object
Source
Factory.scala
Graph
Supertypes
Known subtypes
Members list

Produces a collection containing the results of some element computation a number of times.

Produces a collection containing the results of some element computation a number of times.

Value parameters
elem

the element computation

n

the number of elements contained in the collection.

Attributes
Returns

A collection that contains the results of n evaluations of elem.

Inherited from:
EvidenceIterableFactory
Source
Factory.scala

Produces a collection containing repeated applications of a function to a start value.

Produces a collection containing repeated applications of a function to a start value.

Value parameters
f

the function that's repeatedly applied

len

the number of elements contained in the collection

start

the start value of the collection

Attributes
Returns

a collection with len values in the sequence start, f(start), f(f(start)), ...

Inherited from:
EvidenceIterableFactory
Source
Factory.scala

Produces a collection containing values of a given function over a range of integer values starting from 0.

Produces a collection containing values of a given function over a range of integer values starting from 0.

Value parameters
f

The function computing element values

n

The number of elements in the collection

Attributes
Returns

A collection consisting of elements f(0), ..., f(n -1)

Inherited from:
EvidenceIterableFactory
Source
Factory.scala

Produces a collection that uses a function f to produce elements of type A and update an internal state of type S.

Produces a collection that uses a function f to produce elements of type A and update an internal state of type S.

Type parameters
A

Type of the elements

S

Type of the internal state

Value parameters
f

Computes the next element (or returns None to signal the end of the collection)

init

State initial value

Attributes
Returns

a collection that produces elements using f until f returns None

Inherited from:
EvidenceIterableFactory
Source
Factory.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4