Hi Each entry has 2 types of keys Long and a Hash256(String). You want to lookup for a value using Long or hash string.
On Monday, December 7, 2015 at 9:33:13 AM UTC+1, Thomas Mueller wrote: > > Hi, > > Could you give an example please? Your description is not clear to me. > > > but uses multiple (differently-typed) keys > > Each entry has multiple keys, or different entries have different keys? > Maybe you need multiple maps? > > Regards, > Thomas > > > On Sat, Dec 5, 2015 at 5:44 PM, Jan Juno <[email protected] <javascript:>> > wrote: > >> I need a data structure which behaves like a Map, but uses multiple >> (differently-typed) keys to access its values. >> How would you go dong it? >> Create a Key Class implementing DataType interface? >> Can someone show me an example? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/h2-database. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
