ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/Sorted.java
Revision: 1.1
Committed: Mon May 19 02:45:07 2003 UTC (21 years ago) by tim
Branch: MAIN
Log Message:
Use temp version of Sorted to allow a portion of PQ impl to be uncommented.

File Contents

# User Rev Content
1 tim 1.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> {
9     /**
10     * Returns the comparator used to order this collection, or <tt>null</tt>
11     * if this collection is sorted according to its elements natural ordering.
12     *
13     * @return the comparator used to order this collection, or <tt>null</tt>
14     * if this collection is sorted according to its elements natural ordering.
15     */
16     Comparator<E> comparator();
17     }