B4A and B4J Maps include two methods named GetValueAt and GetKeyAt. These methods are only available because of historic reasons (before the For Each block was available). You shouldn't use these methods.
It might be good to update the documentation in the IDE to reflect that we should use For Each instead of GetKeyAt and GetValueAt.