Package org.tweetyproject.commons.util
Class SubsetIterator<T>
java.lang.Object
org.tweetyproject.commons.util.SubsetIterator<T>
- Type Parameters:
T
- The elements of the set
- Direct Known Subclasses:
DefaultSubsetIterator
,IncreasingSubsetIterator
,RandomSubsetIterator
Iterates over all subsets of a given set.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionSubsetIterator(Set<T> set)
Creates a new subset iterator for the given set. -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
SubsetIterator
Creates a new subset iterator for the given set.- Parameters:
set
- some set.
-
-
Method Details