com.ibm.wala.util.collections
Class Iterator2Set<T>

java.lang.Object
  extended by com.ibm.wala.util.collections.Iterator2Collection<T>
      extended by com.ibm.wala.util.collections.Iterator2Set<T>
All Implemented Interfaces:
java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>

public class Iterator2Set<T>
extends Iterator2Collection<T>
implements java.util.Set<T>


Constructor Summary
protected Iterator2Set(java.util.Iterator<? extends T> i, java.util.Set<T> delegate)
           
 
Method Summary
protected  java.util.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.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

Iterator2Set

protected Iterator2Set(java.util.Iterator<? extends T> i,
                       java.util.Set<T> delegate)
Method Detail

getDelegate

protected java.util.Collection<T> getDelegate()
Specified by:
getDelegate in class Iterator2Collection<T>