Top "Treemap" questions

An implementation of a mapping (dictionary) using a tree.

Java TreeMap (comparator) and get method ignoring the comparator

public final Comparator<String> ID_IGN_CASE_COMP = new Comparator<String>() { public int compare(String s1, …

java comparator treemap
Why do we need a TreeMap/TreeSet when we have SortedMap/SortedSet?

Ok so SortedMap / SortedSet is an interface, and TreeMap / TreeSet is it's implementation. Both of them keep the elements in …

java treemap treeset
Comparator<String> must override super class method

I'm making a TreeMap<String, String> and want to order it in a descending fashion. I created the …

java generics map comparator treemap
Sort Map<String, Object> by keys with IgnoreCase?

Well, I tested TreeMap but it doesn't take in account IgnoreCase on string comparision. I need to order lexicographically and …

java sorting collections string-comparison treemap
Java usage of HashMap or Map with multidimensional arrays

I would like to use HashMaps<String, V> where the value type V should be a two dimensional …

java hashmap treemap sortedmap
Avoiding TreeMap ConcurrentModificationException?

I am calling function that returns TreeMap instance, and in the calling code I wanted to modify the TreeMap. However, …

java treemap concurrentmodification
use of hashCode() and equals() in TreeSet and TreeMap

From the following code, I understand that, there is no need of overriding equals() and hashCode() method for TreeSet and …

java treemap treeset
A negative value for svg attribute <width> is not allowed

I am trying to draw two google treemaps and keep them in tabs and am getting the error: A negative …

svg visualization treemap
Understanding TreeMaps

this is a noobie question regarding tree maps. I have read through the Java API and other documentation but am …

java map treemap
d3.nest() key and values conversion to name and children

I am working on creating a Treemap from a csv file. The data in the csv file is hierarchical, as …

javascript d3.js treemap