public class CloseableIteratorSetAdapter<E> extends CloseableIteratorCollectionAdapter<E> implements CloseableIteratorSet<E>
Set to CloseableIteratorSetdelegate| Constructor and Description |
|---|
CloseableIteratorSetAdapter(Set<E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
CloseableSpliterator<E> |
spliterator() |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayiterator, parallelStream, streamremoveIfpublic CloseableSpliterator<E> spliterator()
CloseableIteratorCollectionThis spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
spliterator in interface Iterable<E>spliterator in interface Collection<E>spliterator in interface Set<E>spliterator in interface CloseableIteratorCollection<E>spliterator in interface CloseableIteratorSet<E>spliterator in class CloseableIteratorCollectionAdapter<E>Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.