com.google.common.collect.testing
Class DerivedTestIteratorGenerator<E>

java.lang.Object
  extended by com.google.common.collect.testing.DerivedTestIteratorGenerator<E>
All Implemented Interfaces:
DerivedGenerator, TestIteratorGenerator<E>

@GwtCompatible
public final class DerivedTestIteratorGenerator<E>
extends Object
implements TestIteratorGenerator<E>, DerivedGenerator

Adapts a test iterable generator to give a TestIteratorGenerator.

This class is GWT compatible.

Author:
George van den Driessche

Constructor Summary
DerivedTestIteratorGenerator(TestSubjectGenerator<? extends Iterable<E>> collectionGenerator)
           
 
Method Summary
 Iterator<E> get()
           
 TestSubjectGenerator<? extends Iterable<E>> getInnerGenerator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerivedTestIteratorGenerator

public DerivedTestIteratorGenerator(TestSubjectGenerator<? extends Iterable<E>> collectionGenerator)
Method Detail

getInnerGenerator

public TestSubjectGenerator<? extends Iterable<E>> getInnerGenerator()
Specified by:
getInnerGenerator in interface DerivedGenerator

get

public Iterator<E> get()
Specified by:
get in interface TestIteratorGenerator<E>


Copyright © 2010-2012. All Rights Reserved.