SizedIterable<K>
, java.lang.Iterable<K>
public class MultiIterable<K> extends java.lang.Object implements java.lang.Iterable<K>, SizedIterable<K>
Constructor | Description |
---|---|
MultiIterable() |
|
MultiIterable(java.lang.Iterable<K>[] esets,
int newSize) |
|
MultiIterable(java.util.Collection<? extends java.lang.Iterable<? extends K>> esets,
int newSize) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(java.lang.Iterable<K> eset,
int sizeAdd) |
|
java.util.Iterator<K> |
iterator() |
|
int |
size() |
Returns the size of the iterable
|
public MultiIterable(java.lang.Iterable<K>[] esets, int newSize)
public MultiIterable(java.util.Collection<? extends java.lang.Iterable<? extends K>> esets, int newSize)
public MultiIterable()
public void add(java.lang.Iterable<K> eset, int sizeAdd)
public java.util.Iterator<K> iterator()
iterator
in interface java.lang.Iterable<K>
public int size()
SizedIterable
size
in interface SizedIterable<K>