Kotlin - Override/Implement array-like accessor function
<p>Is it possible to override or implement the <code>[]</code> accessors in Kotlin (using operator overloading or similar)?</p>

<pre><code>val testObject = MyCustumObject()
println(testObject["hi"])  // i.e. implement this accessor.
</code></pre>

<p>In Python this is possible by implementing <code>__getitem__</code> and <code>__setitem__</code>.</p>