PersistentHashMap<K, V> class

Implemented types
Mixed-in types

Constructors

PersistentHashMap(dynamic meta, BitmapNode root, int $UNDERSCORE_$UNDERSCORE_hash)

Properties

$UNDERSCORE_$UNDERSCORE_hash int
getter/setter pair
entries Iterable<MapEntry<K, V>>
The map entries of this Map.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Whether there is no key/value pair in the map.
no setterinherited
isNotEmpty bool
Whether there is at least one key/value pair in the map.
no setterinherited
keys Iterable<K>
The keys of this Map.
no setteroverride
length int
The number of key/value pairs in the map.
no setterinherited
meta → dynamic
final
root BitmapNode
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<V>
The values of this Map.
no setteroverride

Methods

$_apply$1(dynamic more$1) → dynamic
inherited
$_as_transient$0() → dynamic
override
$_assoc$2(dynamic k$3, dynamic v$2) → dynamic
override
$_conj$1(dynamic entry$1) → dynamic
override
$_contains_key$QMARK_$1(dynamic k$6) → dynamic
override
$_count$0() → dynamic
override
$_dissoc$1(dynamic k$8) → dynamic
override
$_empty$0() → dynamic
override
$_equiv$1(dynamic other$1) → dynamic
override
$_find$1(dynamic k$7) → dynamic
override
$_hash$0() → dynamic
override
$_hash_realized$QMARK_$0() → dynamic
inherited
$_invoke$0() → dynamic
inherited
$_invoke$1(dynamic k$9) → dynamic
override
$_invoke$2(dynamic k$10, dynamic not_found$2) → dynamic
override
$_invoke$3(dynamic a$2, dynamic b$2, dynamic c$2) → dynamic
inherited
$_invoke$4(dynamic a$7, dynamic b$6, dynamic c$5, dynamic d$4) → dynamic
inherited
$_invoke$5(dynamic a$3, dynamic b$3, dynamic c$3, dynamic d$2, dynamic e$2) → dynamic
inherited
$_invoke$6(dynamic a$1, dynamic b$1, dynamic c$1, dynamic d$1, dynamic e$1, dynamic f$1) → dynamic
inherited
$_invoke$7(dynamic a$9, dynamic b$8, dynamic c$7, dynamic d$6, dynamic e$5, dynamic f$4, dynamic g$3) → dynamic
inherited
$_invoke$8(dynamic a$6, dynamic b$5, dynamic c$4, dynamic d$3, dynamic e$3, dynamic f$2, dynamic g$1, dynamic h$1) → dynamic
inherited
$_invoke$9(dynamic a$8, dynamic b$7, dynamic c$6, dynamic d$5, dynamic e$4, dynamic f$3, dynamic g$2, dynamic h$2, dynamic i$1) → dynamic
inherited
$_invoke_more$10(dynamic a$10, dynamic b$9, dynamic c$8, dynamic d$7, dynamic e$6, dynamic f$5, dynamic g$4, dynamic h$3, dynamic i$2, dynamic rest$1) → dynamic
inherited
$_kv_reduce$2(dynamic f$1, dynamic init$1) → dynamic
override
$_lookup$1(dynamic k$4) → dynamic
override
$_lookup$2(dynamic k$5, dynamic not_found$1) → dynamic
override
$_meta$0() → dynamic
override
$_print$1(dynamic sink$1) → dynamic
override
$_seq$0() → dynamic
override
$_with_meta$1(dynamic new_meta$1) → dynamic
override
addAll(Map<K, V> other) → void
Adds all key/value pairs of other to this map.
inherited
addEntries(Iterable<MapEntry<K, V>> newEntries) → void
Adds all key/value pairs of newEntries to this map.
inherited
cast<RK, RV>() PersistentHashMap<RK, RV>
Provides a view of this map as having RK keys and RV instances, if necessary.
override
clear() → void
Removes all entries from the map.
override
containsKey(Object? key) bool
Whether this map contains the given key.
inherited
containsValue(Object? value) bool
Whether this map contains the given value.
inherited
forEach(void action(K key, V value)) → void
Applies action to each key/value pair of the map.
inherited
map<K2, V2>(MapEntry<K2, V2> transform(K key, V value)) Map<K2, V2>
Returns a new map where all entries of this map are transformed by the given convert function.
inherited
noSuchMethod(Invocation i) → dynamic
Invoked when a nonexistent method or property is accessed.
override
putIfAbsent(K key, V ifAbsent()) → V
Look up the value of key, or add a new entry if it isn't there.
inherited
remove(Object? val$2) → V?
Removes key and its associated value, if present, from the map.
override
removeWhere(bool test(K key, V value)) → void
Removes all entries of this map that satisfy the given test.
inherited
toString() String
A string representation of this object.
inherited
update(K key, V update(V value), {V ifAbsent()?}) → V
Updates the value for the provided key.
inherited
updateAll(V update(K key, V value)) → void
Updates all values.
inherited

Operators

operator ==(Object y$1) bool
The equality operator.
inherited
operator [](Object? k$1) → V?
The value for the given key, or null if key is not in the map.
override
operator []=(K key$1, V val$1) → void
Associates the key with the given value.
override