[cvs] / jsr166 / src / main / java / util / NavigableSet.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/NavigableSet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4, Tue Mar 22 16:48:32 2005 UTC revision 1.5, Mon May 2 08:35:49 2005 UTC
# Line 42  Line 42 
42       * Returns an element greater than or equal to the given element, or       * Returns an element greater than or equal to the given element, or
43       * <tt>null</tt> if there is no such element.       * <tt>null</tt> if there is no such element.
44       *       *
45       * @param o the value to match       * @param e the value to match
46       * @return an element greater than or equal to given element, or       * @return an element greater than or equal to given element, or
47       * <tt>null</tt> if there is no such element.       * <tt>null</tt> if there is no such element.
48       * @throws ClassCastException if o cannot be compared with the elements       * @throws ClassCastException if e cannot be compared with the elements
49       *            currently in the set.       *            currently in the set.
50       * @throws NullPointerException if o is <tt>null</tt>       * @throws NullPointerException if e is <tt>null</tt>
51       * and this set does not permit <tt>null</tt> elements       * and this set does not permit <tt>null</tt> elements
52       */       */
53      E ceiling(E o);      E ceiling(E e);
54    
55      /**      /**
56       * Returns an element strictly less than the given element, or       * Returns an element strictly less than the given element, or
57       * <tt>null</tt> if there is no such element.       * <tt>null</tt> if there is no such element.
58       *       *
59       * @param o the value to match       * @param e the value to match
60       * @return the greatest element less than the given element, or       * @return the greatest element less than the given element, or
61       * <tt>null</tt> if there is no such element.       * <tt>null</tt> if there is no such element.
62       * @throws ClassCastException if o cannot be compared with the elements       * @throws ClassCastException if e cannot be compared with the elements
63       *            currently in the set.       *            currently in the set.
64       * @throws NullPointerException if o is <tt>null</tt>       * @throws NullPointerException if e is <tt>null</tt>
65       * and this set does not permit <tt>null</tt> elements       * and this set does not permit <tt>null</tt> elements
66       */       */
67      E lower(E o);      E lower(E e);
68    
69      /**      /**
70       * Returns an element less than or equal to the given element, or       * Returns an element less than or equal to the given element, or
71       * <tt>null</tt> if there is no such element.       * <tt>null</tt> if there is no such element.
72       *       *
73       * @param o the value to match       * @param e the value to match
74       * @return the greatest element less than or equal to given       * @return the greatest element less than or equal to given
75       * element, or <tt>null</tt> if there is no such element.       * element, or <tt>null</tt> if there is no such element.
76       * @throws ClassCastException if o cannot be compared with the elements       * @throws ClassCastException if e cannot be compared with the elements
77       *            currently in the set.       *            currently in the set.
78       * @throws NullPointerException if o is <tt>null</tt>.       * @throws NullPointerException if e is <tt>null</tt>.
79       * and this set does not permit <tt>null</tt> elements       * and this set does not permit <tt>null</tt> elements
80       */       */
81      E floor(E o);      E floor(E e);
82    
83      /**      /**
84       * Returns an element strictly greater than the given element, or       * Returns an element strictly greater than the given element, or
85       * <tt>null</tt> if there is no such element.       * <tt>null</tt> if there is no such element.
86       *       *
87       * @param o the value to match       * @param e the value to match
88       * @return the least element greater than the given element, or       * @return the least element greater than the given element, or
89       * <tt>null</tt> if there is no such element.       * <tt>null</tt> if there is no such element.
90       * @throws ClassCastException if o cannot be compared with the elements       * @throws ClassCastException if e cannot be compared with the elements
91       *            currently in the set.       *            currently in the set.
92       * @throws NullPointerException if o is <tt>null</tt>       * @throws NullPointerException if e is <tt>null</tt>
93       * and this set does not permit <tt>null</tt> elements       * and this set does not permit <tt>null</tt> elements
94       */       */
95      E higher(E o);      E higher(E e);
96    
97      /**      /**
98       * Retrieves and removes the first (lowest) element.       * Retrieves and removes the first (lowest) element.

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8