Package com.ibm.wala.util.collections
Class Iterator2Set<T>
- java.lang.Object
-
- com.ibm.wala.util.collections.Iterator2Collection<T>
-
- com.ibm.wala.util.collections.Iterator2Set<T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,Set<T>
public class Iterator2Set<T> extends Iterator2Collection<T> implements Set<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Iterator2Set(Iterator<? extends T> i, Set<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<T>
getDelegate()
-
Methods inherited from class com.ibm.wala.util.collections.Iterator2Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toList, toSet, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
getDelegate
protected Collection<T> getDelegate()
- Specified by:
getDelegate
in classIterator2Collection<T>
-
-