Parent Directory | Revision Log | Patch
revision 1.23.2.6 by gnu_andrew, Sat Feb 19 10:50:44 2005 UTC | revision 1.23.2.7 by jfrijters, Fri Jun 17 13:23:40 2005 UTC | |
---|---|---|
# | Line 462 public class TreeMap<K, V> extends Abstr | Line 462 public class TreeMap<K, V> extends Abstr |
462 | */ | */ |
463 | public SortedMap<K, V> headMap(K toKey) | public SortedMap<K, V> headMap(K toKey) |
464 | { | { |
465 | return new SubMap(nil, toKey); | return new SubMap((K)(Object)nil, toKey); |
466 | } | } |
467 | ||
468 | /** | /** |
# | Line 681 public class TreeMap<K, V> extends Abstr | Line 681 public class TreeMap<K, V> extends Abstr |
681 | */ | */ |
682 | public SortedMap<K, V> tailMap(K fromKey) | public SortedMap<K, V> tailMap(K fromKey) |
683 | { | { |
684 | return new SubMap(fromKey, nil); | return new SubMap(fromKey, (K)(Object)nil); |
685 | } | } |
686 | ||
687 | /** | /** |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |