Evgeny Kuvardin created COLLECTIONS-873:
-------------------------------------------
Summary: Create Set based on PatriciaTrie
Key: COLLECTIONS-873
URL: https://issues.apache.org/jira/browse/COLLECTIONS-873
Project: Commons Collections
Issue Type: New Feature
Reporter: Evgeny Kuvardin
In some cases users want to use PatriciaTrie with a unique key and not worry
about corresponding values. Something like Set + PatriciaTrie. Something like
Set + PatriciaTrie
Now in such cases they may use PatricaiTree as follows:
{code:java}
final Object object = new Object();
PatriciaTrie<Object> trie = new PatriciaTrie<>();
trie.put("SMT", null);
trie.put("WAL", object);
{code}
Is it a good idea to provide users with such a type of collection?
For example:
{code:java}
public class PatriciaTrieSet<K> implements Set<K>, Serializable{code}
If ok, I can try to make PR.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)