public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive) { return new ConcurrentSkipListSet ((ConcurrentNavigableMap) m.subMap(fromElement, fromInclusive, toElement, toInclusive)); } public NavigableSet headSet(Object toElement, boolean inclusive) {
public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive) { return new ConcurrentSkipListSet ((ConcurrentNavigableMap) m.subMap(fromElement, fromInclusive, toElement, toInclusive)); } public NavigableSet headSet(Object toElement, boolean inclusive) {
public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive) { return new ConcurrentSkipListSet ((ConcurrentNavigableMap) m.subMap(fromElement, fromInclusive, toElement, toInclusive)); } public NavigableSet headSet(Object toElement, boolean inclusive) {
/** * @throws ClassCastException {@inheritDoc} * @throws NullPointerException if {@code fromElement} or * {@code toElement} is null * @throws IllegalArgumentException {@inheritDoc} */ public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive) { return new ConcurrentSkipListSet ((ConcurrentNavigableMap) m.subMap(fromElement, fromInclusive, toElement, toInclusive)); }
/** * @throws ClassCastException {@inheritDoc} * @throws NullPointerException if {@code fromElement} or * {@code toElement} is null * @throws IllegalArgumentException {@inheritDoc} */ public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive) { return new ConcurrentSkipListSet ((ConcurrentNavigableMap) m.subMap(fromElement, fromInclusive, toElement, toInclusive)); }
/** * @throws ClassCastException {@inheritDoc} * @throws NullPointerException if {@code fromElement} or * {@code toElement} is null * @throws IllegalArgumentException {@inheritDoc} */ public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive) { return new ConcurrentSkipListSet ((ConcurrentNavigableMap) m.subMap(fromElement, fromInclusive, toElement, toInclusive)); }