ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/Sorted.java
(Generate patch)

Comparing jsr166/src/main/java/util/Sorted.java (file contents):
Revision 1.1 by tim, Mon May 19 02:45:07 2003 UTC vs.
Revision 1.2 by dl, Tue May 27 18:20:06 2003 UTC

# Line 1 | Line 1
1 < package java.util;
1 > package java.util;
2  
3   /**
4   * Mixin interface used by collections, maps, and similar objects to
5   * indicate that their elements or mappings are stored in sorted
6   * order.
7   */
8 < public interface Sorted<E> {
8 >
9 > public interface Sorted {
10      /**
11       * Returns the comparator used to order this collection, or <tt>null</tt>
12       * if this collection is sorted according to its elements natural ordering.
# Line 13 | Line 14 | public interface Sorted<E> {
14       * @return the comparator used to order this collection, or <tt>null</tt>
15       * if this collection is sorted according to its elements natural ordering.
16       */
17 <    Comparator<E> comparator();
18 < }
17 >    Comparator comparator();
18 > }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines