ocean v6.1.0 (2021-04-20T01:38:04Z)
Home
Dub
Repo
TwoWayMap.opIndexAssign
ocean
core
SmartEnum
TwoWayMap
Undocumented in source.
void
opIndexAssign
(KeyType a, ValueType b)
void
opIndexAssign
(ValueType b, KeyType a)
struct
TwoWayMap
(A)
void
opIndexAssign
(
ValueType
b
,
KeyType
a
)
out { assert (this.a_to_index[a] < this.keys_list.length); assert (this.b_to_index[b] < this.values_list.length); }
Meta
Source
See Implementation
ocean
core
SmartEnum
TwoWayMap
aliases
KeyType
ValueType
functions
indexOf
keys
length
opApply
opAssign
opBinaryRight
opIndex
opIndexAssign
rehash
values