0
$\begingroup$

I'm looking for the correct terminology in regard to map (dictionary) data structure.

When I'm talking about the semantics of the values stored in map in the direction from keys to values, I'd say, for example

messages keys are mapped to message strings

When I'm using the opposite direction - describing the values first, I'd need to say something like

message strings are ??? by message keys ("being mapped by" just doesn't feel right here)

$\endgroup$
2
  • $\begingroup$ Are the images of. PS What has your research on this shown? $\endgroup$
    – philipxy
    Commented Nov 14, 2020 at 17:42
  • $\begingroup$ @philipxy it has shown that this opposite direction of talking about the values and keys in map is seldom used, I couldn't find a single example. $\endgroup$
    – brabec
    Commented Nov 16, 2020 at 7:51

1 Answer 1

0
$\begingroup$

How about "message strings are associated with keys"?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.