rkapsi / patricia-trie

Practical Algorithm to Retrieve Information Coded in Alphanumeric (PATRICIA)

Home Page:http://code.google.com/p/patricia-trie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

headMap

pgomulka opened this issue · comments

I can't really get the idea how should headMap function works
PatriciaTrie pt = new PatriciaTrie();
pt.put("AA","1");
pt.put("AAB","2");
pt.put("AAC","3");
SortedMap aac = pt.headMap("AAC");
Collection values = aac.values(); => 1, 2

should it just be 1 ?