Listing 5: Output from Listing 4 (using java.util.TreeMap)

package java.util;

public class java.util.TreeMap
   extends java.util.AbstractMap
   implements java.util.SortedMap
   implements java.lang.Cloneable
   implements java.io.Serializable
{
   // Fields
   private java.util.Comparator comparator;
   private transient java.util.TreeMap$Entry root;
   ...
   private static final boolean RED;
   private static final boolean BLACK;
   private static final long serialVersionUID;

   // Constructors
   public java.util.TreeMap(java.util.Map);
   public java.util.TreeMap();
   public java.util.TreeMap(java.util.Comparator);
   public java.util.TreeMap(java.util.SortedMap);

   // Methods
   public java.lang.Object put(java.lang.Object, java.lang.Object);
   public java.lang.Object clone();
   public java.lang.Object get(java.lang.Object);
   private int compare(java.lang.Object, java.lang.Object);
   ...
   static int access$1400(java.util.TreeMap);

   // Nested Classes
   static class java.util.TreeMap$Entry
      extends java.lang.Object
      implements java.util.Map$Entry
   {
      // Fields
      java.lang.Object key;
      ...
      boolean color;

      // Constructors
      ...

      // Methods
      public int hashCode();
      ...
      public java.lang.Object setValue(java.lang.Object);

   }
   private class java.util.TreeMap$Iterator
      extends java.lang.Object
      implements java.util.Iterator
   {
      // Fields
      private int type;
      ...
      private final java.util.TreeMap this$0;

      // Constructors
      ...
      java.util.TreeMap$Iterator(java.util.TreeMap, int);

      // Methods
      public java.lang.Object next();
      public void remove();
      public boolean hasNext();
 
   }
   private class java.util.TreeMap$SubMap
      extends java.util.AbstractMap
      implements java.util.SortedMap
      implements java.io.Serializable
   {
      // Fields
      private static final long serialVersionUID;
      ...
      private final java.util.TreeMap this$0;

      // Constructors
      ...

      // Methods
      public java.lang.Object put(java.lang.Object, java.lang.Object);
      ...
      static java.lang.Object access$1900(java.util.TreeMap$SubMap);

      // Nested Classes
      private class java.util.TreeMap$SubMap$EntrySetView
         extends java.util.AbstractSet
      {
         // Fields
         private transient int size;
         private transient int sizeModCount;
         private final java.util.TreeMap$SubMap this$1;

         // Constructors
         ...


         // Methods
         public int size();
         public boolean contains(java.lang.Object);
         public boolean remove(java.lang.Object);
         public boolean isEmpty();
         public java.util.Iterator iterator();

      }
   }
}
— End of Listing —