J.Util.Proxy.Lookup.Base

trait Base[A, B] extends Lookup[A, B] with J.Util.Proxy[Lookup[A, B]]
trait J.Util.Proxy[Lookup[J.Util.Proxy.Lookup.Base.A, J.Util.Proxy.Lookup.Base.B]]
trait Lookup[J.Util.Proxy.Lookup.Base.A, J.Util.Proxy.Lookup.Base.B]
trait Collection[J.Util.Proxy.Lookup.Base.B]
trait Able.Size
trait Able.Stream[J.Util.Proxy.Lookup.Base.B]
class java.lang.Object
trait scala.Matchable
class Any
class J.Util.Proxy.Lookup[J.Util.Proxy.Lookup.A, J.Util.Proxy.Lookup.B]

Def

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

Inherited from
Lookup
Source
__.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
def keyStream: Stream[A]

Key stream

Key stream

Returns a Stream of all keys for this Lookup

Inherited from
Lookup
Source
__.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