ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/TreeMap/SubMap.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/TreeMap/SubMap.java (file contents):
Revision 1.3 by jsr166, Sun Sep 5 21:32:20 2010 UTC vs.
Revision 1.5 by jsr166, Mon Jan 8 03:12:03 2018 UTC

# Line 27 | Line 27
27   * @summary The firstKey and lastKey
28   */
29  
30 < import java.util.*;
30 > import java.util.NoSuchElementException;
31 > import java.util.SortedMap;
32 > import java.util.SortedSet;
33 > import java.util.TreeMap;
34 > import java.util.TreeSet;
35  
36   public class SubMap {
37 <    public static void main(String args[]) throws Exception {
37 >    public static void main(String[] args) throws Exception {
38          SortedMap m = new TreeMap();
39          m.put(new Integer(1), new Integer(1));
40          m.put(new Integer(2), new Integer(2));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines