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