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

Comparing jsr166/src/main/java/util/NavigableSet.java (file contents):
Revision 1.5 by jsr166, Mon May 2 08:35:49 2005 UTC vs.
Revision 1.6 by jsr166, Mon May 2 18:38:53 2005 UTC

# Line 41 | Line 41 | public interface NavigableSet<E> extends
41      /**
42       * Returns an element greater than or equal to the given element, or
43       * <tt>null</tt> if there is no such element.
44 <     *
44 >     *
45       * @param e the value to match
46       * @return an element greater than or equal to given element, or
47       * <tt>null</tt> if there is no such element.
48       * @throws ClassCastException if e cannot be compared with the elements
49       *            currently in the set.
50 <     * @throws NullPointerException if e is <tt>null</tt>
50 >     * @throws NullPointerException if e is <tt>null</tt>
51       * and this set does not permit <tt>null</tt> elements
52       */
53      E ceiling(E e);
# Line 55 | Line 55 | public interface NavigableSet<E> extends
55      /**
56       * Returns an element strictly less than the given element, or
57       * <tt>null</tt> if there is no such element.
58 <     *
58 >     *
59       * @param e the value to match
60       * @return the greatest element less than the given element, or
61       * <tt>null</tt> if there is no such element.
# Line 69 | Line 69 | public interface NavigableSet<E> extends
69      /**
70       * Returns an element less than or equal to the given element, or
71       * <tt>null</tt> if there is no such element.
72 <     *
72 >     *
73       * @param e the value to match
74       * @return the greatest element less than or equal to given
75       * element, or <tt>null</tt> if there is no such element.
# Line 83 | Line 83 | public interface NavigableSet<E> extends
83      /**
84       * Returns an element strictly greater than the given element, or
85       * <tt>null</tt> if there is no such element.
86 <     *
86 >     *
87       * @param e the value to match
88       * @return the least element greater than the given element, or
89       * <tt>null</tt> if there is no such element.
# Line 110 | Line 110 | public interface NavigableSet<E> extends
110  
111      /**
112       * Returns an iterator over the elements in this collection, in
113 <     * descending order.  
114 <     *
113 >     * descending order.
114 >     *
115       * @return an <tt>Iterator</tt> over the elements in this collection
116       */
117      Iterator<E> descendingIterator();
# Line 122 | Line 122 | public interface NavigableSet<E> extends
122       * exclusive.  (If <tt>fromElement</tt> and <tt>toElement</tt> are
123       * equal, the returned navigable set is empty.)  The returned
124       * navigable set is backed by this set, so changes in the returned
125 <     * navigable set are reflected in this set, and vice-versa.
125 >     * navigable set are reflected in this set, and vice-versa.
126       *
127       * @param fromElement low endpoint (inclusive) of the subSet.
128       * @param toElement high endpoint (exclusive) of the subSet.
# Line 136 | Line 136 | public interface NavigableSet<E> extends
136       * @throws IllegalArgumentException if <tt>fromElement</tt> is
137       * greater than <tt>toElement</tt>.
138       * @throws NullPointerException if <tt>fromElement</tt> or
139 <     *         <tt>toElement</tt> is <tt>null</tt>
139 >     *         <tt>toElement</tt> is <tt>null</tt>
140       * and this set does not permit <tt>null</tt> elements
141       */
142      NavigableSet<E> navigableSubSet(E fromElement, E toElement);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines