Growable

oxygen.core.collection.Growable
See theGrowable companion object
sealed trait Growable[+A]

For the purpose of building sequences. Allows you to do as much mapping, flat-mapping, and concatenation as you would like, without having to re-build the sequences every time.

Attributes

See also
Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Collect[A, B]
class Concat[A]
class DistinctBy[A, B]
object Empty
class Fill[A]
class Filter[A]
class FlatMap[A, B]
class Many[S, A]
class Map[A, B]
class Single[A]
Show all

Members list

Value members

Abstract methods

def foreach(f: A => Unit): Unit

Concrete methods

final def ++[B >: A](that: Growable[B]): Growable[B]
final def ++:[B >: A](that: Growable[B]): Growable[B]
final def +:[B >: A](that: B): Growable[B]
final def :+[B >: A](that: B): Growable[B]
final def :++[B >: A](that: Growable[B]): Growable[B]
def addTo[G[_], B >: A](builder: Builder[B, G[B]]): Unit
final def collect[B](f: PartialFunction[A, B]): Growable[B]
final def distinct: Growable[A]
final def distinctBy[B](f: A => B): Growable[A]
final def filter(f: A => Boolean): Growable[A]
final def filterNot(f: A => Boolean): Growable[A]
final def flatMap[B](f: A => Growable[B]): Growable[B]
final def flatMap[B](f: A => Option[B]): Growable[B]
final def flatten[B](using ev: A <:< Growable[B]): Growable[B]
final def map[B](f: A => B): Growable[B]
def size: Int
def to[S[_]](using seqOps: SeqOps[S]): S[A]
Extension method from Growable
final def toContiguous: Contiguous[A]

Abstract fields

val knownSize: Int