类 JoinedIterable<T>
- java.lang.Object
-
- org.hibernate.internal.util.collections.JoinedIterable<T>
-
- 所有已实现的接口:
Iterable<T>
public class JoinedIterable<T> extends Object implements Iterable<T>
A JoinedIterable is an Iterable that wraps a number of Iterables. This class makes multiple iterables look like one to the caller. When any method from the Iterator interface is called on the Iterator object returned byiterator(), the JoinedIterable will delegate to a single underlying Iterator. The JoinedIterable will invoke the iterator on each Iterable, in sequence, until all Iterators are exhausted.- 作者:
- Gail Badner (adapted from JoinedIterator)