J.Object.Mutable.X.Basic

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

Def

inline def ++=(s: Stream[(String, Any)]): J.Object.M.X.Basic

Alias for putAll

Alias for putAll

Inherited from
Mutable
Source
__.scala
inline def +=(v: (String, Any)): J.Object.M.X.Basic

Alias for put

Alias for put

Inherited from
Mutable
Source
__.scala
inline def --=(keys: Stream[String]): J.Object.M.X.Basic

Alias for removeAll

Alias for removeAll

Inherited from
Mutable
Source
__.scala
inline def -=(key: String): J.Object.M.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
def doubleOpt(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 getOpt in most cases

Inherited from
Lookup
Source
__.scala
def getOpt(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 getStream(keys: Stream[String]): Stream[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
def int(name: String): Int
Inherited from
Object
Source
Object.scala
def intOpt(name: String): Int.Opt
Inherited from
Object
Source
Object.scala
def jArray(name: String): J.Array
Inherited from
Object
Source
Object.scala
def jArrayOpt(name: String): Opt[J.Array]
Inherited from
Object
Source
Object.scala
def jObject(name: String): J.Object
Inherited from
Object
Source
Object.scala
def jObjectOpt(name: String): Opt[J.Object]
Inherited from
Object
Source
Object.scala
def keyStream: Stream[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
def longOpt(name: String): Long.Opt
Inherited from
Object
Source
Object.scala
def pairStream: Stream[(String, Any)]
Inherited from
Basic
Source
X.scala
def put(key: String, value: Any): Unit
Inherited from
Basic
Source
X.scala
def putAll(s: Stream[(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: Stream[String]): Stream[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 stream: Stream[Any]

Value stream

Value stream

Returns a Stream of all values for this Lookup

Inherited from
Lookup
Source
__.scala
def string(name: String): String
Inherited from
Object
Source
Object.scala
def stringOpt(name: String): Opt[String]
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: Stream[(String, Any)]): Stream[Any]

Update multiple key/value associations

Update multiple key/value associations

This operation executes update for every stream entry

Inherited from
Mutable
Source
__.scala