public class AbstractMergeHandler.MergedIterator extends GenericResourceIteratorAdapter<K,FamilyInstance>
Constructor and Description |
---|
AbstractMergeHandler.MergedIterator(com.google.common.collect.Multimap<K,InstanceReference> index,
InstanceCollection instances,
T mergeConfig)
Create a collection of merged instances.
|
Modifier and Type | Method and Description |
---|---|
protected FamilyInstance |
convert(K next)
Convert an object before it is returned by
GenericResourceIteratorAdapter.next() . |
void |
remove() |
close, hasNext, next
public AbstractMergeHandler.MergedIterator(com.google.common.collect.Multimap<K,InstanceReference> index, InstanceCollection instances, T mergeConfig)
index
- the merge indexinstances
- the original instance collectionmergeConfig
- the merge configurationprotected FamilyInstance convert(K next)
GenericResourceIteratorAdapter
GenericResourceIteratorAdapter.next()
.convert
in class GenericResourceIteratorAdapter<K,FamilyInstance>
next
- the object to convertpublic void remove()
remove
in interface Iterator<FamilyInstance>
remove
in class GenericResourceIteratorAdapter<K,FamilyInstance>
Iterator.remove()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a