J.Object.Mutable.X.Basic

class Basic extends Lookup.Mutable.X.Basic[String, Any] with J.Object.Mutable
trait J.Object
trait Able.Doc
trait Able.Tag
class Lookup.Mutable.X.Basic[String, Any]
class Lookup.Mutable.X.Base[String, Any]
trait Lookup.Mutable[String, Any]
trait Lookup[String, Any]
trait Collection[Any]
trait Able.Size
trait Able.~[Any]
class java.lang.Object
trait scala.Matchable
class Any

Def

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

Value stream

Value stream

Returns a Stream of all values for this Lookup

Inherited from
Lookup
Source
__.scala
@scala.annotation.targetName("_putAll")
def ++=(s: ~[(String, Any)]): J.Object.Mutable.X.Basic

Alias for putAll

Alias for putAll

Inherited from
Mutable
Source
__.scala
@scala.annotation.targetName("_put")
def +=(v: (String, Any)): J.Object.Mutable.X.Basic

Alias for put

Alias for put

Inherited from
Mutable
Source
__.scala
@scala.annotation.targetName("_removeAll")
def --=(keys: ~[String]): J.Object.Mutable.X.Basic

Alias for removeAll

Alias for removeAll

Inherited from
Mutable
Source
__.scala
@scala.annotation.targetName("_remove")
def -=(key: String): J.Object.Mutable.X.Basic

Alias for remove

Alias for remove

Inherited from
Mutable
Source
__.scala
def add(v: (String, Any)): Unit
Inherited from
Mutable
Source
Object.scala
def boolean(name: String): Boolean
Inherited from
Object
Source
Object.scala
def clear: Unit
Inherited from
Basic
Source
X.scala
def doc: Doc
Inherited from
Object
Source
Object.scala
def double(name: String): Double
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("double_Opt")
def double_?(name: String): Double.Opt
Inherited from
Object
Source
Object.scala
def get(v: String): Any

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 get_? in most cases

Inherited from
Lookup
Source
__.scala
@scala.annotation.targetName("get_Stream")
def get_~(keys: ~[String]): ~[Any]

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: String): Opt[Any]
Inherited from
Basic
Source
X.scala
def getOrPut(key: String, v: => Any): Any

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
def int(name: String): Int
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("int_Opt")
def int_?(name: String): Int.Opt
Inherited from
Object
Source
Object.scala
override def isEmpty: Boolean

Empty check

Empty check

Returns true if instance is empty.

Definition Classes
Inherited from
Size
Source
Size.scala
def jArray(name: String): J.Array
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("array_Opt")
def jArray_?(name: String): Opt[J.Array]
Inherited from
Object
Source
Object.scala
def jObject(name: String): J.Object
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("object_Opt")
def jObject_?(name: String): Opt[J.Object]
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("key_Stream")
def key_~: ~[String]

Key stream

Key stream

Returns a Stream of all keys for this Lookup

Inherited from
Lookup
Source
__.scala
def long(name: String): Long
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("long_Opt")
def long_?(name: String): Long.Opt
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("pair_Stream")
def pair_~: ~[(String, Any)]
Inherited from
Basic
Source
X.scala
def put(key: String, value: Any): Unit
Inherited from
Basic
Source
X.scala
def putAll(s: ~[(String, Any)]): 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: String): Opt[Any]
Inherited from
Basic
Source
X.scala
def removeAll(keys: ~[String]): ~[Any]

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
def size: Int
Inherited from
Basic
Source
X.scala
def string(name: String): String
Inherited from
Object
Source
Object.scala
@scala.annotation.targetName("string_Opt")
def string_?(name: String): Ref.Opt
Inherited from
Object
Source
Object.scala
override def tag: String

Make String

Make String

tag returns this instance String representation, which should be used insted of toString

Definition Classes
Object -> Doc -> Tag
Inherited from
Object
Source
Object.scala
def update(key: String, value: Any): Opt[Any]

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: ~[(String, Any)]): ~[Any]

Update multiple key/value associations

Update multiple key/value associations

This operation executes update for every stream entry

Inherited from
Mutable
Source
__.scala