253 |
|
Collection c = (Collection) o; |
254 |
|
try { |
255 |
|
return containsAll(c) && c.containsAll(this); |
256 |
< |
} catch(ClassCastException unused) { |
256 |
> |
} catch (ClassCastException unused) { |
257 |
|
return false; |
258 |
< |
} catch(NullPointerException unused) { |
258 |
> |
} catch (NullPointerException unused) { |
259 |
|
return false; |
260 |
|
} |
261 |
|
} |
487 |
|
* @param fromElement inclusive least value, or <tt>null</tt> if from start |
488 |
|
* @param toElement exclusive upper bound or <tt>null</tt> if to end |
489 |
|
* @throws IllegalArgumentException if fromElement and toElement |
490 |
< |
* nonnull and fromElement greater than toElement |
490 |
> |
* non-null and fromElement greater than toElement |
491 |
|
*/ |
492 |
|
ConcurrentSkipListSubSet(ConcurrentSkipListMap<E,Object> map, |
493 |
|
E fromElement, E toElement) { |