42 |
|
* Returns an element greater than or equal to the given element, or |
43 |
|
* <tt>null</tt> if there is no such element. |
44 |
|
* |
45 |
< |
* @param o the value to match |
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 o cannot be compared with the elements |
48 |
> |
* @throws ClassCastException if e cannot be compared with the elements |
49 |
|
* currently in the set. |
50 |
< |
* @throws NullPointerException if o 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 o); |
53 |
> |
E ceiling(E e); |
54 |
|
|
55 |
|
/** |
56 |
|
* Returns an element strictly less than the given element, or |
57 |
|
* <tt>null</tt> if there is no such element. |
58 |
|
* |
59 |
< |
* @param o the value to match |
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. |
62 |
< |
* @throws ClassCastException if o cannot be compared with the elements |
62 |
> |
* @throws ClassCastException if e cannot be compared with the elements |
63 |
|
* currently in the set. |
64 |
< |
* @throws NullPointerException if o is <tt>null</tt> |
64 |
> |
* @throws NullPointerException if e is <tt>null</tt> |
65 |
|
* and this set does not permit <tt>null</tt> elements |
66 |
|
*/ |
67 |
< |
E lower(E o); |
67 |
> |
E lower(E e); |
68 |
|
|
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 |
|
* |
73 |
< |
* @param o the value to match |
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. |
76 |
< |
* @throws ClassCastException if o cannot be compared with the elements |
76 |
> |
* @throws ClassCastException if e cannot be compared with the elements |
77 |
|
* currently in the set. |
78 |
< |
* @throws NullPointerException if o is <tt>null</tt>. |
78 |
> |
* @throws NullPointerException if e is <tt>null</tt>. |
79 |
|
* and this set does not permit <tt>null</tt> elements |
80 |
|
*/ |
81 |
< |
E floor(E o); |
81 |
> |
E floor(E e); |
82 |
|
|
83 |
|
/** |
84 |
|
* Returns an element strictly greater than the given element, or |
85 |
|
* <tt>null</tt> if there is no such element. |
86 |
|
* |
87 |
< |
* @param o the value to match |
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. |
90 |
< |
* @throws ClassCastException if o cannot be compared with the elements |
90 |
> |
* @throws ClassCastException if e cannot be compared with the elements |
91 |
|
* currently in the set. |
92 |
< |
* @throws NullPointerException if o is <tt>null</tt> |
92 |
> |
* @throws NullPointerException if e is <tt>null</tt> |
93 |
|
* and this set does not permit <tt>null</tt> elements |
94 |
|
*/ |
95 |
< |
E higher(E o); |
95 |
> |
E higher(E e); |
96 |
|
|
97 |
|
/** |
98 |
|
* Retrieves and removes the first (lowest) element. |