Int.G.Lookup.Mutable

trait Mutable[A <: Raw.Int, B] extends Int.G.Lookup[A, B] with Lookup.Mutable[A, B]
trait Lookup.Mutable[A, B]
trait Int.G.Lookup[A, B]
trait Lookup[A, B]
trait Collection[B]
trait Able.Size
trait Able.~[B]
class java.lang.Object
trait scala.Matchable
class Any

Def

@scala.annotation.targetName("stream")
def ~: ~[B]

Value stream

Value stream

Returns a Stream of all values for this Lookup

Inherited from
Lookup
Source
__.scala
@scala.annotation.targetName("_putAll")
def ++=(s: ~[(A, B)]): Int.G.Lookup.Mutable[A, B]

Alias for putAll

Alias for putAll

Inherited from
Mutable
Source
__.scala
@scala.annotation.targetName("_put")
def +=(v: (A, B)): Int.G.Lookup.Mutable[A, B]

Alias for put

Alias for put

Inherited from
Mutable
Source
__.scala
@scala.annotation.targetName("_removeAll")
def --=(keys: ~[A]): Int.G.Lookup.Mutable[A, B]

Alias for removeAll

Alias for removeAll

Inherited from
Mutable
Source
__.scala
@scala.annotation.targetName("_remove")
def -=(key: A): Int.G.Lookup.Mutable[A, B]

Alias for remove

Alias for remove

Inherited from
Mutable
Source
__.scala
def clear: Unit

Make empty

Make empty

Discards all entries, collection size will become zero

Inherited from
Mutable
Source
__.scala
override def get(v: A): B
Definition Classes
Inherited from
Lookup
Source
Lookup.scala
@scala.annotation.targetName("get_Stream")
def get_~(keys: ~[A]): ~[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
@scala.annotation.targetName("get_Opt")
def get_?(key: A): Opt[B]
Inherited from
Lookup
Source
Lookup.scala
def getOrPut(key: A, v: => B): B

Get or create key/value association

Get or create key/value association

Returns existent value assisiated with the given key.

If the association does not exist, it will be created with the given default value, and then same value will be returned.

Inherited from
Mutable
Source
__.scala
override def isEmpty: Boolean

Empty check

Empty check

Returns true if instance is empty.

Definition Classes
Inherited from
Size
Source
Size.scala
@scala.annotation.targetName("key_Stream")
override def key_~: Int.G.~[A]

Key stream

Key stream

Returns a Stream of all keys for this Lookup

Definition Classes
Inherited from
Lookup
Source
Lookup.scala
@scala.annotation.targetName("pair_Stream")
def pair_~: ~[(A, B)]

Key/value pair stream

Key/value pair stream

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

Inherited from
Lookup
Source
__.scala
def put(key: A, value: B): Unit
def putAll(s: ~[(A, B)]): Unit

Create multitiple key/value associations

Create multitiple key/value associations

This operation executes put for every stream entry

Inherited from
Mutable
Source
__.scala
def remove(key: A): Opt[B]
def removeAll(keys: ~[A]): ~[B]

Remove milti key associations

Remove milti key associations

Removes given stream of keys and values associated with them

Returns stream of removed values

Inherited from
Mutable
Source
__.scala
override def size: Int

Element count

Element count

Retuns element count

Definition Classes
Inherited from
Collection
Source
__.scala
def update(key: A, value: B): Opt[B]

Update key/value association

Update key/value association

Unlike put, this operation will only update existing association, and will do nothing for non-existent.

Inherited from
Mutable
Source
__.scala
def updateAll(s: ~[(A, B)]): ~[B]

Update multiple key/value associations

Update multiple key/value associations

This operation executes update for every stream entry

Inherited from
Mutable
Source
__.scala