E - The type of elements that are investigated.public class DifferentPairsIterable<E> extends java.lang.Object implements java.lang.Iterable<Pair<E,E>>
| Constructor and Description |
|---|
DifferentPairsIterable(java.util.Collection<E> collection)
Construct a new instance of this iterable for the given base collection.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Pair<E,E>> |
iterator() |
public DifferentPairsIterable(java.util.Collection<E> collection)
collection - The collection whose pairs should be returned.