1

In the documentation for SortedMap it mentions that somehow it is possible to allow duplicates. But I can not understand how. Can someone give me an example for this? thx

Hossein
  • 40,161
  • 57
  • 141
  • 175

1 Answers1

1

When you create a DataBase object, on the included DataBaseConfig call setSortedDuplicates(true) or setUnsortedDuplicates(true). There's an example in the documentation here.

Skip Head
  • 7,580
  • 1
  • 30
  • 34