I used them very useful in .NET, and I'm not sure about the equivalent.
Here is Map.Entry<K, V> , which represents map entries. I am not a C # programmer, but it seems like the most similar to what you want.
Map.Entry<K, V>
Not sure if this is what you are looking for, but there is a hashmap singleton:
Map<K, V> map = Collections.singletonMap(key, value);
Maybe you can describe what you would like to do with it?
Source: https://habr.com/ru/post/1334721/More articles:How to get the identifier "bucket id" that winqual uses if I have a minidump file or exception structure? (Windows C ++) - c ++How to check at least 3 characters in a given value using a regular expression - javascriptMoving gradle built-in tasks works to complete tasks / built-in tasks shourtcuts - gradleChoosing the last row without any keys - mysqlWhy choose Top X Kill Performance - sqlChecking the Zend Framework site map - xmlSingle database connection testing and general questions on code and unit-dependent block testing - javause jQuery to get the "true size" of the image without deleting the class - jqueryHow to make FLAC or mpeg using python - pythonGet true image sizes using jQuery - jqueryAll Articles