E - the type of elements in the collectionpublic class LazyCollectionMinusSet<E> extends AbstractCollection<E>
Collection view consisting of elements from a given
Collection without elements from the given Set. The given
Collection and Set are not modified as a result of this
operation. The resulting Collection does not support addition or
removal of elements; if attempted, an UnsupportedOperationException
will be thrown.| Constructor and Description |
|---|
LazyCollectionMinusSet(Collection<? extends E> collection,
Set<? extends E> set) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object o) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
int |
size() |
add, addAll, clear, containsAll, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic LazyCollectionMinusSet(Collection<? extends E> collection, Set<? extends E> set)
public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in class AbstractCollection<E>public boolean contains(Object o)
contains in interface Collection<E>contains in class AbstractCollection<E>public boolean remove(Object o)
remove in interface Collection<E>remove in class AbstractCollection<E>public Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in class AbstractCollection<E>public int size()
size in interface Collection<E>size in class AbstractCollection<E>Copyright © 2011–2024 Live Ontologies Project. All rights reserved.