MapObj

trait MapObj[T <: Txn[T], K, Repr <: ([~ <: Txn[~]] =>> Form[~])] extends MapObjLike[T, K, Repr[T]] with Obj[T] with Publisher[T, Update[T, K, Repr]]
Companion
object
trait Obj[T]
trait Mutable[T]
trait Identified[T]
trait Elem[T]
trait Publisher[T, Update[T, K, Repr]]
trait Writable
trait Form[T]
trait MapObjLike[T, K, Repr[T]]
trait Disposable[T]
class Object
trait Matchable
class Any
trait Modifiable[T, K, Repr]

Type members

Types

type V = Repr[T]

Value members

Abstract methods

def iterator(tx: T): Iterator[(K, V)]
def keysIterator(tx: T): Iterator[K]
def modifiableOption: Option[Modifiable[T, K, Repr]]
def valuesIterator(tx: T): Iterator[V]

Inherited methods

final def attr(tx: T): AttrMap[T]
Inherited from
Obj
def changed: EventLike[T, Update[T, K, Repr]]
Inherited from
Publisher
def contains(key: K)(tx: T): Boolean

Searches for the map for a given key.

Searches for the map for a given key.

Value Params
key

the key to search for

Returns

true if the key is in the map, false otherwise

Inherited from
MapObjLike
def dispose(tx: T): Unit
Inherited from
Disposable
override def equals(that: Any): Boolean
Definition Classes
Identified -> Any
Inherited from
Identified
def get(key: K)(tx: T): Option[Repr[T]]

Queries the value for a given key.

Queries the value for a given key.

Value Params
key

the key to look for

Returns

the value if it was found at the key, otherwise None

Inherited from
MapObjLike
override def hashCode: Int
Definition Classes
Identified -> Any
Inherited from
Identified
def id: Ident[T]
Inherited from
Identified
def isEmpty(tx: T): Boolean
Inherited from
MapObjLike
def nonEmpty(tx: T): Boolean
Inherited from
MapObjLike
override def toString: String
Definition Classes
Obj -> Any
Inherited from
Obj
override def tpe: Type
Definition Classes
Inherited from
Obj
def write(out: DataOutput): Unit
Inherited from
Writable