Files
flatbuffers/tests/dictionary_lookup.fbs
Paulo Pinheiro 7181d77700 [Java] Fix key lookup returning null clashing with default value (#7236)
A field with key attribute must always be written on the message so it
can be looked up by key. There is a edge case where inserting a key
field with same value as default would prevent it to be written on
the message and later cannot be found when searched by key.
2022-04-11 17:16:41 -07:00

12 lines
166 B
Plaintext

namespace DictionaryLookup;
table LongFloatEntry {
key: long (key);
value: float;
}
table LongFloatMap {
entries: [LongFloatEntry];
}
root_type LongFloatMap;