E - element typeabstract static class CompatibleGuava11.ImprovedAbstractSet<E> extends AbstractSet<E>
AbstractSet substitute without the potentially-quadratic
removeAll implementation.| Constructor and Description |
|---|
ImprovedAbstractSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
equals, hashCodeadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface Set<E>removeAll in class AbstractSet<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface Set<E>retainAll in class AbstractCollection<E>Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.