Questions tagged [treemap]

An implementation of a mapping (dictionary) using a tree. This tag is also used for treemapping, an information visualization method for displaying hierarchical data with nested rectangles.

A map implemented as a tree

A map (also called dictionary or associative array) can be represented as a tree, typically a binary search tree. This tag can be used for such implementations, especially the TreeMap class in Java.

Treemapping visualisation technique

A treemap is a method for displaying tree-structured data in two dimensions. Each element is represented as a rectangle, with the children of a tree displayed as sub-rectangles inside their parent's rectangle.

Treemap example http://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Tree_Map.png/305px-Tree_Map.png

1412 questions
-6
votes
1 answer

Internal Implementation of TreeMap

how internal Implementation of TreeMap is done in Java? Does it use any tree (like : binary tree, red-black, B-tree) for arranging elements?
Akshay
  • 87
  • 1
  • 1
  • 8
-6
votes
1 answer

Sorting TreeMap alphabetically

I have an object of typer person, which has a name as attribute. I have a treemap which link the person to a distance, which is an integer. I need to sort the TreeMap in alphabetical order, by looking at the name of each person in it. How can I do…
1 2 3
94
95