[all packages] [package java.util] [class hierarchy] [index]

pure interface of class java.util.TreeMap<A, B>

The documentated page.
public class TreeMap<A, B>
  extends AbstractMap<A, B>
  implements SortedMap<A, B>, Cloneable, java.io.Serializable
{
    public TreeMap();
    public TreeMap(Comparator<A> c);
    public TreeMap(Map<A, B> m);
    public TreeMap(SortedMap<A, B> m);
    public int size();
    public boolean containsKey(A key);
    public B get(A key);
    public Comparator<A> comparator();
    public A firstKey();
    public A lastKey();
    public B put(A key,
                 B value);
    public B remove(A key);
    public void clear();
    public Object clone();
    public Set<A> keySet();
    public Collection<B> values();
    public Set<Entry<A, B>> entries();
    public SortedMap<A, B> subMap(A fromKey,
                                  A toKey);
    public SortedMap<A, B> headMap(A toKey);
    public SortedMap<A, B> tailMap(A fromKey);
    private class SubMap
      extends AbstractMap<A, B>
      implements SortedMap<A, B>, java.io.Serializable
    private class Iterator
      implements java.util.Iterator<A>
    static class Entry<A, B>
      implements java.util.Map.Entry<A, B>
}

[all packages] [package java.util] [class hierarchy] [index]
java.util.TreeMap.interface.html