operator [] method
- int index
Get element at index
. Returns 0 when out of bounds
(note that 0 is also a valid in-bounds value, please use len()
to avoid out-of-bounds)
Implementation
int operator [](int index) {
final result = _icu4x_ReorderedIndexMap_get_mv1(_ffi, index);
return result;
}