Short.G.Lookup.Stable

class Stable[A <: Any.Short, B] extends Lookup.Stable[A, B] with Short.G.Lookup[A, B]
trait Short.G.Lookup[Short.G.Lookup.Stable.A, Short.G.Lookup.Stable.B]
class Lookup.Stable[Short.G.Lookup.Stable.A, Short.G.Lookup.Stable.B]
trait Lookup[Short.G.Lookup.Stable.A, Short.G.Lookup.Stable.B]
trait Collection[Short.G.Lookup.Stable.B]
trait Able.Size
trait Able.Stream[Short.G.Lookup.Stable.B]
class java.lang.Object
trait scala.Matchable
class Any

Def

inline def +(key: A, v: B): this.type

Alias for join

Alias for join

Creates a new Stable with given key/value joined

Inherited from
Stable
Source
__.scala
inline def ++(v: Stream[(A, B)]): this.type

Alias for joinAll

Alias for joinAll

Creates a new Stable with all given key/value pairs joined

Inherited from
Stable
Source
__.scala
override def get(v: A): B

Element by key

Element by key

Returns element associated with the given key

Note. This operation will fail, if value is not found. Thus, use safer getOpt in most cases

Definition Classes
Inherited from
Lookup
Source
Lookup.scala
override def getOpt(key: A): Opt[B]

Optional element by key

Optional element by key

Optionally returns element associated with the given key

Definition Classes
Source
Lookup.scala
def getStream(keys: Stream[A]): Stream[B]

Multi key lookup

Multi key lookup

Returns a stream of values for given stream of keys.

Note: There may be less values, than keys. Keys with no assosiated values are ignored.

Inherited from
Lookup
Source
__.scala
override def join(k: A, v: B): Short.G.Lookup.Stable[A, B]

Join key/value association

Join key/value association

Creates a new Stable with given key/value joined

Definition Classes
Source
Lookup.scala
override def joinAll(v: Stream[(A, B)]): Short.G.Lookup.Stable[A, B]

Join multiple key/value associations

Join multiple key/value associations

Creates a new Stable with all given key/value pairs joined

Definition Classes
Source
Lookup.scala
override def keyStream: Short.G.Stream[A]

Key stream

Key stream

Returns a Stream of all keys for this Lookup

Definition Classes
Source
Lookup.scala
override def pairStream: Stream[(A, B)]

Key/value pair stream

Key/value pair stream

Returns a Stream of all key/value pairs for this Lookup

Definition Classes
Source
Lookup.scala
override def size: Int
Definition Classes
Source
Lookup.scala
def stream: Stream[B]

Value stream

Value stream

Returns a Stream of all values for this Lookup

Inherited from
Lookup
Source
__.scala