You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2024. It is now read-only.
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
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 ?