tonivade / claudb

ClauDB is a REDIS implementation in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migration to vavr.io collections

tonivade opened this issue · comments

Collection data types are saved inside TinyDB using this backends:

  • List: java.util.LinkedList
  • Set: java.util.LInkedHashSet
  • Zset: custom SortedSet implementation
  • Hash: java.util.LinkedHashMap

The objective is replace each collection with it's counterparts in vavr library

  • List: io.vavr.collection.LinkedList
  • Set: io.vavr.collection.LinkedHashSet
  • Map: io.vavr.collection.LinkedHashMap

The exception is SortedSet that is a custom implementation of java.util.NavigableSet