martino2k6/StoreBox

Set<String> support

lub0s opened this issue · 2 comments

Haven't had much time trying out your lib yet, but I like the idea. Just gave source a look but haven't noticed support for Set set & get operations.

You're correct. I have omitted Set support on purpose as the library provides the implementation from the interface at runtime, at which point the parametrised types are no longer available due to Java's type erasure. Therefore I have no guarantee that the caller has parametrised the Set with a String as opposed to some other type. I will however include support for it when I will complete custom type support (#3).

This has now been implemented as part of #3.